Skip to content

Commit

Permalink
fix lint issue
Browse files Browse the repository at this point in the history
  • Loading branch information
lonegunmanb committed Jan 12, 2023
1 parent 6c23db2 commit 98552d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion version_helper_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ func TestVersionSnapshotToString(t *testing.T) {
require.True(t, scanner.Scan())
title := scanner.Text()
require.True(t, strings.HasPrefix(title, "## "))
require.Equal(t, snapshot.Time.Format(time.RFC822), strings.TrimLeft(title, "## "))
require.Equal(t, snapshot.Time.Format(time.RFC822), strings.TrimPrefix(title, "## "))
require.Contains(t, s, "Success: true")
require.Contains(t, s, snapshot.Output)
}
Expand Down

0 comments on commit 98552d8

Please sign in to comment.