Skip to content

Commit

Permalink
rename test to comply with golang.org/x/mod/module.CheckFilePath
Browse files Browse the repository at this point in the history
  • Loading branch information
sgmitchell committed Nov 24, 2020
1 parent 085f270 commit 4aeed2b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions internal/printer/tty_test.go
Expand Up @@ -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())
Expand Down Expand Up @@ -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{}

Expand Down

0 comments on commit 4aeed2b

Please sign in to comment.