Skip to content

Commit

Permalink
Other: Attempted to fix broken custom error test
Browse files Browse the repository at this point in the history
  • Loading branch information
dcodeIO committed Mar 11, 2017
1 parent 4b49f50 commit 4573f9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/other_protocolerror.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4573f9a

Please sign in to comment.