Make it so that you can filter tests by keyword.

1.7/enhancement_8685
John Resig 2007-08-31 05:41:08 +00:00
parent e3263063e4
commit fbd2b066a7
1 changed files with 1 additions and 1 deletions

View File

@ -74,7 +74,7 @@ function test(name, callback, nowait) {
name = _config.currentModule + " module: " + name;
var filter = location.search.slice(1);
if ( filter && encodeURIComponent(name) != filter )
if ( filter && encodeURIComponent(name).indexOf(filter) == -1 )
return;
synchronize(function() {