mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-12 20:13:59 +02:00
all: Apply staticcheck recommendations
This commit is contained in:
@@ -58,8 +58,8 @@ func TestChaingMultipleTransformers(t *testing.T) {
|
||||
|
||||
expected := "Test: f4r f3r f1r f2r f1r The End."
|
||||
|
||||
if string(out.Bytes()) != expected {
|
||||
t.Errorf("Expected %s got %s", expected, string(out.Bytes()))
|
||||
if out.String() != expected {
|
||||
t.Errorf("Expected %s got %s", expected, out.String())
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user