diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2018-02-17 17:14:35 +0100 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2018-02-17 19:02:12 +0100 |
| commit | 5204f75a58d52256f7e1a818644faed0f116beb7 (patch) | |
| tree | 5b41f6b3695c7c39bf5e551729e8fcfd5843fbf1 /prog/size_test.go | |
| parent | dd4fcef5a270fc39a56c0be8122fc6f18314f3cd (diff) | |
prog: fix test output
Print programs as strings, rather than byte sequences.
Diffstat (limited to 'prog/size_test.go')
| -rw-r--r-- | prog/size_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/prog/size_test.go b/prog/size_test.go index 5ea646ca7..3b85d498a 100644 --- a/prog/size_test.go +++ b/prog/size_test.go @@ -18,7 +18,7 @@ func TestAssignSizeRandom(t *testing.T) { target.assignSizesCall(call) } if data1 := p.Serialize(); !bytes.Equal(data0, data1) { - t.Fatalf("different lens assigned, initial: %v, new: %v", data0, data1) + t.Fatalf("different lens assigned, initial:\n%s\nnew:\n%s\n", data0, data1) } p.Mutate(rs, 10, nil, nil) data0 = p.Serialize() |
