Permalink
Browse files

Other: Attempted to fix broken custom error test

  • Loading branch information...
dcodeIO committed Mar 11, 2017
1 parent 4b49f50 commit 4573f9aabd7e8f883e530f4d0b055e5ec9b75219
Showing with 1 addition and 1 deletion.
  1. +1 −1 tests/other_protocolerror.js
@@ -28,7 +28,7 @@ tape.test("a protocol error", function(test) {
} catch (e) {
test.ok(e instanceof ProtocolError, "should be thrown if a message is missing required fields");
test.ok(e.message, "should have an error message");
test.ok(e.stack, "should have a stack trace");
test.ok(typeof e.stack === "string", "should have a stack trace (empty string if not supported)");
test.equal(e.name, "ProtocolError", "should have the correct name");
test.same(e.instance, {
foo: 2

0 comments on commit 4573f9a

Please sign in to comment.