Improve error msg

This commit is contained in:
Alexander Sheiko 2020-02-14 16:10:29 +02:00
parent 1cabbe92ba
commit bf5b9db7d6

View file

@ -11,6 +11,6 @@ func TestGetTrends(t *testing.T) {
}
if len(trends) != 10 {
t.Error("Expected 10 trends")
t.Errorf("Expected 10 trends, got %d: %#v", len(trends), trends)
}
}