Merge pull request #7885 from hurf/master

Update errors_test.go
This commit is contained in:
Wojciech Tyczynski 2015-05-07 10:06:26 +02:00
commit 128835ec40

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)