Skip to content

Commit

Permalink
Make stricter linter happy
Browse files Browse the repository at this point in the history
Signed-off-by: Maxime Soulé <btik-git@scoubidou.com>
  • Loading branch information
maxatome committed Oct 31, 2018
1 parent 82b6ef3 commit c1d4e88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion td_isa_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ func TestIsa(t *testing.T) {
testdeep.Isa((*fmt.Stringer)(nil)),
"checks bytes.NewBufferString() implements fmt.Stringer")

var ifstr fmt.Stringer = regexp.MustCompile("aa")
var ifstr fmt.Stringer = regexp.MustCompile("aa?")
checkOK(t, bytes.NewBufferString("foobar"), testdeep.Isa(&ifstr))

checkError(t, &gotStruct, testdeep.Isa(&MyStructBase{}),
Expand Down

0 comments on commit c1d4e88

Please sign in to comment.