Permalink
Browse files

Fuckin regex

  • Loading branch information...
1 parent fb273c7 commit f8c7409024f0554cfc9d6741426af51608b31039 @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(/[^\w]spec\.js/)){
+ if (line.match(/spec\.js/)){
exports.printYellow(line + "\n");
} else {
puts(line);

0 comments on commit f8c7409

Please sign in to comment.