Make it so that you can filter tests by keyword.
[jquery.git] / build / test / data / testrunner.js
index 25ffb3f..69377e4 100644 (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() {