From fbd2b066a71c8c2371e11f7f6b201a9000b564e4 Mon Sep 17 00:00:00 2001 From: John Resig Date: Fri, 31 Aug 2007 05:41:08 +0000 Subject: [PATCH] Make it so that you can filter tests by keyword. --- build/test/data/testrunner.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/test/data/testrunner.js b/build/test/data/testrunner.js index 25ffb3f27..69377e452 100644 --- a/build/test/data/testrunner.js +++ b/build/test/data/testrunner.js @@ -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() { -- 2.39.5