Commit 2f7a1612 authored by Angus Salkeld's avatar Angus Salkeld

Fix namespace_test error message

parent faffbe4e
...@@ -80,7 +80,7 @@ func TestNamespaceGenerate(t *testing.T) { ...@@ -80,7 +80,7 @@ func TestNamespaceGenerate(t *testing.T) {
t.Errorf("%v: expected error and didn't get one", index) t.Errorf("%v: expected error and didn't get one", index)
continue // loop, no expected output object continue // loop, no expected output object
case !test.expectErr && err != nil: 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 continue // loop, no output object
case !test.expectErr && err == nil: case !test.expectErr && err == nil:
// do nothing and drop through // do nothing and drop through
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment