Skip to content
This repository has been archived by the owner on Mar 15, 2021. It is now read-only.

Commit

Permalink
Fuckin regex
Browse files Browse the repository at this point in the history
  • Loading branch information
Bob Remeika committed Jan 29, 2012
1 parent fb273c7 commit f8c7409
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/adapters/node/colors.js
Expand Up @@ -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);
Expand Down

0 comments on commit f8c7409

Please sign in to comment.