From 244b9bbae3b539c08aeba2d510946dc45b26b9f1 Mon Sep 17 00:00:00 2001 From: guoguangwu Date: Mon, 9 Oct 2023 13:11:19 +0800 Subject: [PATCH] fix: typo Signed-off-by: guoguangwu --- e2e/internal/testhelper/testhelper.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/e2e/internal/testhelper/testhelper.go b/e2e/internal/testhelper/testhelper.go index e90b52c12..91c30a275 100644 --- a/e2e/internal/testhelper/testhelper.go +++ b/e2e/internal/testhelper/testhelper.go @@ -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)) @@ -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)