Skip to content

Commit

Permalink
fixup! Revert to use gopkg.in/ini.v1 when saving config file
Browse files Browse the repository at this point in the history
  • Loading branch information
gandarez committed Nov 28, 2021
1 parent 8c11465 commit a4910ff
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pkg/config/config_test.go
Expand Up @@ -266,7 +266,9 @@ func TestWrite_NoMultilineSideEffects(t *testing.T) {
expected, err := os.ReadFile("testdata/wakatime-multiline-expected.cfg")
require.NoError(t, err)

assert.Equal(t, string(expected), strings.ReplaceAll(string(actual), "\r", ""))
assert.Equal(t,
strings.ReplaceAll(string(expected), "\r", ""),
strings.ReplaceAll(string(actual), "\r", ""))
}

func TestWriteErr(t *testing.T) {
Expand Down

0 comments on commit a4910ff

Please sign in to comment.