summaryrefslogtreecommitdiffstats
path: root/transform/chain_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'transform/chain_test.go')
-rw-r--r--transform/chain_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/transform/chain_test.go b/transform/chain_test.go
index e34024296..a8d59f902 100644
--- a/transform/chain_test.go
+++ b/transform/chain_test.go
@@ -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())
}
}