Skip to content

Commit

Permalink
Introduce fake test failures.
Browse files Browse the repository at this point in the history
  • Loading branch information
mitchell-as committed Mar 31, 2023
1 parent c07b7fa commit d31310f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion internal/output/progress_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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())
}
2 changes: 1 addition & 1 deletion test/integration/edit_int_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit d31310f

Please sign in to comment.