test: Catch capitalized error messages in tests

This commit is contained in:
James Shubin
2019-08-24 01:08:33 -04:00
parent f1eedc7a01
commit 87572e8922
9 changed files with 95 additions and 95 deletions

View File

@@ -43,7 +43,7 @@ func TestGraphSync1(t *testing.T) {
err := g.GraphSync(newGraph, nil, nil, nil, nil)
if err != nil {
t.Errorf("GraphSync failed: %v", err)
t.Errorf("failed with: %+v", err)
return
}
@@ -83,7 +83,7 @@ func TestGraphSync2(t *testing.T) {
err := g.GraphSync(newGraph, strVertexCmpFn, vertexAddFn, vertexRemoveFn, strEdgeCmpFn)
if err != nil {
t.Errorf("GraphSync failed: %v", err)
t.Errorf("failed with: %+v", err)
return
}