cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mmo...@apache.org
Subject [2/4] git commit: Fix regex to match js-modules named exactly 'tests'
Date Tue, 06 May 2014 19:20:48 GMT
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 <mmocny@gmail.com>
Authored: Tue May 6 13:27:10 2014 -0400
Committer: Michal Mocny <mmocny@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


Mime
View raw message