Fix Git editor reword workflow and UI coverage
- show Git editor file paths instead of the submitted git command - surface follow-up commit message editors during interactive rebase reword - add rename-commit UI tests for editor and amend-message solution paths - add broader embedded level solution scenarios for alternate Git workflows
This commit is contained in:
@@ -17,5 +17,7 @@ internal fun commitAmendLevel(): Level = level(
|
||||
validator = repoPredicate { repo -> repo.commits.size == 1 && repo.files.any { it.name == "forgotten_file.rb" && it.tracked && !it.staged } },
|
||||
testCases = listOf(
|
||||
levelTestCase("amend after add", "git add forgotten_file.rb", "git commit --amend --no-edit"),
|
||||
levelTestCase("amend with message option", "git add forgotten_file.rb", "git commit --amend -m \"Initial commit\""),
|
||||
levelTestCase("amend through editor", "git add forgotten_file.rb", "GIT_EDITOR=true git commit --amend"),
|
||||
),
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user