Misc Changes
This commit is contained in:
@@ -277,13 +277,14 @@ class GitSandboxEngineTest {
|
||||
}
|
||||
|
||||
@Test
|
||||
fun interactiveStageDoesNotThrow() {
|
||||
fun interactiveStageUsesConsoleText() {
|
||||
val repo = RepoState(initialized = true, files = listOf(GitFile("README")))
|
||||
|
||||
val (updatedRepo, output) = GitSandboxEngine.execute(repo, "git stage -i")
|
||||
|
||||
assertTrue(updatedRepo.files.single { it.name == "README" }.staged)
|
||||
assertTrue(output.any { it.contains("Interactive add is handled by GitHug Android") })
|
||||
assertTrue(output.any { it.contains("What now>") })
|
||||
assertFalse(output.any { it.contains("GitHug Android") })
|
||||
}
|
||||
|
||||
private fun testGitBinary(): File {
|
||||
|
||||
Reference in New Issue
Block a user