Update errors_test.go

minor change in log message
pull/6/head
Victor HU 2015-05-07 15:06:15 +08:00
parent 7eac8563d4
commit f42a18d3c2
1 changed files with 1 additions and 1 deletions

View File

@ -91,7 +91,7 @@ func TestPluralAggregate(t *testing.T) {
t.Errorf("expected '[abc, 123]', got %q", s)
}
if s := agg.Errors(); len(s) != 2 {
t.Errorf("expected one-element slice, got %#v", s)
t.Errorf("expected two-elements slice, got %#v", s)
}
if s := agg.Errors()[0].Error(); s != "abc" {
t.Errorf("expected '[abc, 123]', got %q", s)