1
0
mirror of https://github.com/go-task/task.git synced 2025-11-27 22:38:20 +02:00

Fix go-critic suggestions

This commit is contained in:
Oleg Kovalov
2022-08-17 19:37:58 +02:00
parent c172185a24
commit b08eac58e9
8 changed files with 13 additions and 13 deletions

View File

@@ -970,7 +970,7 @@ func TestSummary(t *testing.T) {
expectedOutput := string(data)
if runtime.GOOS == "windows" {
expectedOutput = strings.Replace(expectedOutput, "\r\n", "\n", -1)
expectedOutput = strings.ReplaceAll(expectedOutput, "\r\n", "\n")
}
assert.Equal(t, expectedOutput, buff.String())