Utilise file instead of stderr for integration tests

Windows for some reason is not properly making use of stderr so instead
we're going to write our result to a file explicitly
This commit is contained in:
Jesse Duffield
2023-05-26 19:05:22 +10:00
parent c961a5833b
commit 9c7db3a37b
4 changed files with 142 additions and 21 deletions
+1 -1
View File
@@ -27,7 +27,7 @@ var Commit = NewIntegrationTest(NewIntegrationTestArgs{
PressPrimaryAction(). // stage file
Lines(
Contains("A myfile").IsSelected(),
Contains("?? myfile2"),
Contains("?? myfile23"),
).
SelectNextItem().
PressPrimaryAction(). // stage other file