We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3030206 commit eb4d50dCopy full SHA for eb4d50d
lib/assert/error.js
@@ -3,7 +3,7 @@ var inspect = require('vows/console').inspect;
3
4
require('assert').AssertionError.prototype.toString = function () {
5
var that = this,
6
- source = this.stack.match(/([a-zA-Z0-9_-]+\.js)(:\d+):\d+/);
+ source = this.stack.match(/([a-zA-Z0-9._-]+\.js)(:\d+):\d+/);
7
8
function parse(str) {
9
return str.replace(/{actual}/g, inspect(that.actual)).
0 commit comments