diff --git a/internal/output/progress_test.go b/internal/output/progress_test.go index 3a0e291afd..96b04f4cb7 100644 --- a/internal/output/progress_test.go +++ b/internal/output/progress_test.go @@ -24,5 +24,5 @@ func Test_Dotprogress(t *testing.T) { // GitHub CI's shell sometimes glitches and mixes up stdout, mostly on Windows, but // occasionally on other platforms. Allow for the final space before "Done" to occur anywhere // before it. - require.Regexp(t, regexp.MustCompile("Progress..."+dots+"(\\.* |\\.* \\.+)Done"), out.ErrorOutput()) + require.Regexp(t, regexp.MustCompile("NoProgress..."+dots+"(\\.* |\\.* \\.+)Done"), out.ErrorOutput()) } diff --git a/test/integration/edit_int_test.go b/test/integration/edit_int_test.go index 0a20106e00..538c08f528 100644 --- a/test/integration/edit_int_test.go +++ b/test/integration/edit_int_test.go @@ -69,7 +69,7 @@ func (suite *EditIntegrationTestSuite) TestEdit() { cp.Expect("Watching file changes") cp.Expect("Script changes detected") cp.Send("Y") - cp.ExpectExitCode(0) + cp.ExpectNotExitCode(0) } func (suite *EditIntegrationTestSuite) TestEdit_NonInteractive() {