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:
@@ -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())
|
||||
|
||||
Reference in New Issue
Block a user