Skip to content

Commit

Permalink
fix: fix windows test case
Browse files Browse the repository at this point in the history
Signed-off-by: zongz <[email protected]>
  • Loading branch information
zong-zhe committed Nov 21, 2023
1 parent 5e626d4 commit 03f7991
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/client/client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -776,5 +776,5 @@ func TestMetadataOffline(t *testing.T) {
assert.Equal(t, res, "{\"packages\":{}}")
content_after_metadata, err = os.ReadFile(kclMod)
assert.Equal(t, err, nil)
assert.Equal(t, string(content_after_metadata), string(beautifulContent))
assert.Equal(t, utils.RmNewline(string(content_after_metadata)), utils.RmNewline(string(beautifulContent)))
}

0 comments on commit 03f7991

Please sign in to comment.