Browse Source

Error messages error

master
Till Wegmüller 6 years ago
parent
commit
63e18058d2
  1. 4
      drain/drain_test.go

4
drain/drain_test.go

@ -55,7 +55,7 @@ func TestDrainWithOneWriter(t *testing.T) {
ll := d.Lines()
if len(ll) != linesInTextAbove {
t.Fatal("Wrong number of lines: expected 34, got", len(ll))
t.Fatal("Wrong number of lines: expected 28, got", len(ll))
}
}
@ -112,7 +112,7 @@ func TestDrainWithManyWriters(t *testing.T) {
for _, single := range res {
if len(single) != linesInTextAbove {
t.Errorf("Length of one of results not 34, but %d\n", len(single))
t.Errorf("Length of one of results not 28, but %d\n", len(single))
}
if glued := strings.Join(single, "\n") + "\n"; glued != string(jabberwocky) {
t.Errorf("One of the results is not Jabberwocky: %#v\n", glued)

Loading…
Cancel
Save