git.asbjorn.biz
/
jquery.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e326306
)
Make it so that you can filter tests by keyword.
author
John Resig
<jeresig@gmail.com>
Fri, 31 Aug 2007 05:41:08 +0000
(
05:41
+0000)
committer
John Resig
<jeresig@gmail.com>
Fri, 31 Aug 2007 05:41:08 +0000
(
05:41
+0000)
build/test/data/testrunner.js
patch
|
blob
|
history
diff --git
a/build/test/data/testrunner.js
b/build/test/data/testrunner.js
index
25ffb3f
..
69377e4
100644
(file)
--- 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() {