diff --git a/internal/printer/testdata/TestTTYPrinterPrintSummary/Should_print_'no'_when_there_is_no_failures.golden.txt b/internal/printer/testdata/TestTTYPrinterPrintSummary/Should_print_no_when_there_is_no_failures.golden.txt similarity index 100% rename from internal/printer/testdata/TestTTYPrinterPrintSummary/Should_print_'no'_when_there_is_no_failures.golden.txt rename to internal/printer/testdata/TestTTYPrinterPrintSummary/Should_print_no_when_there_is_no_failures.golden.txt diff --git a/internal/printer/tty_test.go b/internal/printer/tty_test.go index e9f57d8..ae8327b 100644 --- a/internal/printer/tty_test.go +++ b/internal/printer/tty_test.go @@ -44,7 +44,6 @@ func TestTTYPrinterPrintCheckResult(t *testing.T) { }, }, }) - // then g := goldie.New(t, goldie.WithNameSuffix(".golden.txt")) g.Assert(t, t.Name(), buff.Bytes()) @@ -86,7 +85,7 @@ func TestTTYPrinterPrintSummary(t *testing.T) { g.Assert(t, t.Name(), buff.Bytes()) }) - t.Run("Should print 'no' when there is no failures", func(t *testing.T) { + t.Run("Should print no when there is no failures", func(t *testing.T) { // given tty := TTYPrinter{}