oops, I missed something here - this should read: "if err ==  nil || err.Error() != test.want"