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:
@@ -27,5 +27,7 @@ internal fun revertLevel(): Level = level(
|
||||
validator = repoPredicate { repo -> repo.commits.any { it.message.startsWith("Revert") } },
|
||||
testCases = listOf(
|
||||
levelTestCase("revert middle commit", "git revert HEAD~1"),
|
||||
levelTestCase("revert middle commit without editor", "git revert --no-edit HEAD~1"),
|
||||
levelTestCase("revert caret commit", "git revert HEAD^"),
|
||||
),
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user