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:
@@ -11,6 +11,7 @@ class GitEditorCommandsTest {
|
||||
|
||||
assertEquals(GitEditorCommandKind.COMMIT_MESSAGE, invocation?.kind)
|
||||
assertEquals("Edit Commit Message", invocation?.title)
|
||||
assertEquals(".git/COMMIT_EDITMSG", invocation?.displayPath)
|
||||
}
|
||||
|
||||
@Test
|
||||
@@ -34,6 +35,7 @@ class GitEditorCommandsTest {
|
||||
|
||||
assertEquals(GitEditorCommandKind.REBASE_TODO, invocation?.kind)
|
||||
assertEquals("Edit Rebase Todo", invocation?.title)
|
||||
assertEquals(".git/rebase-merge/git-rebase-todo", invocation?.displayPath)
|
||||
}
|
||||
|
||||
@Test
|
||||
@@ -47,6 +49,7 @@ class GitEditorCommandsTest {
|
||||
|
||||
assertEquals(GitEditorCommandKind.TAG_MESSAGE, invocation?.kind)
|
||||
assertEquals("Edit Tag Message", invocation?.title)
|
||||
assertEquals(".git/TAG_EDITMSG", invocation?.displayPath)
|
||||
}
|
||||
|
||||
@Test
|
||||
|
||||
Reference in New Issue
Block a user