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 0ba2336 commit e35b23f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions version_helper_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ func TestOutputNewTestVersionSnapshot(t *testing.T) {
defer stub.Reset()
err := RecordVersionSnapshot(t, ".", filepath.Join("example", "basic"))
require.Nil(t, err)
file, err := os.ReadFile(tmpPath)
file, err := os.ReadFile(filepath.Clean(tmpPath))
require.Nil(t, err)
require.Equal(t, snapshot.ToString(), string(file))
require.True(t, files.FileExists(tmpPath))
require.True(t, files.FileExists(filepath.Clean(tmpPath)))
}

0 comments on commit e35b23f

Please sign in to comment.