You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by mm...@apache.org on 2014/05/06 21:20:48 UTC
[2/4] git commit: Fix regex to match js-modules named exactly 'tests'
Fix regex to match js-modules named exactly 'tests'
Project: http://git-wip-us.apache.org/repos/asf/cordova-labs/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-labs/commit/f767bbf4
Tree: http://git-wip-us.apache.org/repos/asf/cordova-labs/tree/f767bbf4
Diff: http://git-wip-us.apache.org/repos/asf/cordova-labs/diff/f767bbf4
Branch: refs/heads/cdvtest
Commit: f767bbf4328af7b51c9be6c02047133dd11987a5
Parents: 851130a
Author: Michal Mocny <mm...@gmail.com>
Authored: Tue May 6 13:27:10 2014 -0400
Committer: Michal Mocny <mm...@gmail.com>
Committed: Tue May 6 13:27:10 2014 -0400
----------------------------------------------------------------------
cordova-plugin-test-framework/www/tests.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cordova-labs/blob/f767bbf4/cordova-plugin-test-framework/www/tests.js
----------------------------------------------------------------------
diff --git a/cordova-plugin-test-framework/www/tests.js b/cordova-plugin-test-framework/www/tests.js
index 1d20ba0..0fc2f68 100644
--- a/cordova-plugin-test-framework/www/tests.js
+++ b/cordova-plugin-test-framework/www/tests.js
@@ -34,7 +34,7 @@ function requireAllTestModules() {
return jsmodule.id;
})
.filter(function(id) {
- return /.tests$/.test(id);
+ return /\.tests$/.test(id);
});
// Map auto / manual test definitions for each, but without actually running the handlers