Permalink
Browse files

Highlight files in the stack trace that have different naming convent…

…ions
  • Loading branch information...
1 parent 9079250 commit 088ea4c09d62ee30e82b85aba36f0a367e8a7d6c @foobarfighter committed Jan 29, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/adapters/node/colors.js
@@ -32,7 +32,7 @@ exports.highlightSpecs = function (stack){
var lines = stack.split("\n");
for (var i = 0, ii = lines.length; i < ii; ++i){
var line = lines[i];
- if (line.match(/_spec\.js/)){
+ if (line.match(/[^\w]spec\.js/)){
exports.printYellow(line + "\n");
} else {
puts(line);

0 comments on commit 088ea4c

Please sign in to comment.