aboutsummaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorJohn Resig <jeresig@gmail.com>2007-08-31 05:41:08 +0000
committerJohn Resig <jeresig@gmail.com>2007-08-31 05:41:08 +0000
commitfbd2b066a71c8c2371e11f7f6b201a9000b564e4 (patch)
treec36640323c38a6d80d1a09dcb002779fca7daa75 /build
parente3263063e4ef3d2e0ee6b74b9da573bf40e87668 (diff)
downloadjquery-fbd2b066a71c8c2371e11f7f6b201a9000b564e4.tar.gz
jquery-fbd2b066a71c8c2371e11f7f6b201a9000b564e4.zip
Make it so that you can filter tests by keyword.
Diffstat (limited to 'build')
-rw-r--r--build/test/data/testrunner.js2
1 files changed, 1 insertions, 1 deletions
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() {