Skip to content

Commit

Permalink
fix: typo
Browse files Browse the repository at this point in the history
Signed-off-by: guoguangwu <[email protected]>
  • Loading branch information
testwill committed Oct 9, 2023
1 parent fff5b74 commit 244b9bb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions e2e/internal/testhelper/testhelper.go
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ func RunTestsWithSnapshotSubdirectory(t *testing.T, tests []TestCase, snapshotSu
}

if !test.ShouldSucceed && err == nil {
t.Fatal("expected command to fail but it succeded instead")
t.Fatal("expected command to fail but it succeeded instead")
}

cupaloyCopy := cupaloy.NewDefaultConfig().WithOptions(cupaloy.SnapshotSubdirectory(snapshotSubdirectory))
Expand All @@ -142,7 +142,7 @@ func RunTests(t *testing.T, tests []TestCase) {
}

if !test.ShouldSucceed && err == nil {
t.Fatal("expected command to fail but it succeded instead")
t.Fatal("expected command to fail but it succeeded instead")
}

cupaloy.SnapshotT(t, combinedOutput)
Expand Down

0 comments on commit 244b9bb

Please sign in to comment.