Fix namespace_test error message

pull/6/head
Angus Salkeld 2016-06-09 11:55:54 +10:00
parent faffbe4e18
commit 2f7a1612db
1 changed files with 1 additions and 1 deletions

View File

@ -80,7 +80,7 @@ func TestNamespaceGenerate(t *testing.T) {
t.Errorf("%v: expected error and didn't get one", index)
continue // loop, no expected output object
case !test.expectErr && err != nil:
t.Errorf("%v: expected error and didn't get one", index)
t.Errorf("%v: unexpected error %v", index, err)
continue // loop, no output object
case !test.expectErr && err == nil:
// do nothing and drop through