Skip to content

Commit

Permalink
remove throw/doesNotThrow message customization, cause it's fucked
Browse files Browse the repository at this point in the history
  • Loading branch information
cloudhead committed Jun 19, 2010
1 parent 6298227 commit cd4a763
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions lib/assert/macros.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@ var assert = require('assert');

var messages = {
'equal' : "expected {expected},\n\tgot\t {actual} ({operator})",
'notEqual' : "didn't expect {actual} ({operator})",
'throws' : "expected {expected} to be thrown",
'doesNotThrow': "didn't expect {actual} to be thrown",
'notEqual' : "didn't expect {actual} ({operator})"
};
messages['strictEqual'] = messages['deepEqual'] = messages['equal'];
messages['notStrictEqual'] = messages['notDeepEqual'] = messages['notEqual'];
Expand Down

0 comments on commit cd4a763

Please sign in to comment.