Permalink
Browse files

Prevent suites with matching prefixes from running when a suite is in

focus.
  • Loading branch information...
1 parent 54265c5 commit 5d0566ae02df7aa97c5abfe21a5a5fa3a90d3cbb @kristiancalhoun kristiancalhoun committed Mar 26, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 ThirdParty/jasmine-1.3.1/jasmine-html.js
@@ -320,7 +320,7 @@ jasmine.HtmlReporter = function(_doc) {
return matchedCategory;
}
- return spec.getFullName().indexOf(focusedSpecName) === 0;
+ return (spec.getFullName() === focusedSpecName) || (spec.suite.getFullName() === focusedSpecName);
};
return self;

0 comments on commit 5d0566a

Please sign in to comment.