cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ste...@apache.org
Subject [3/4] cordova-coho git commit: Update flagutil.test.js
Date Thu, 23 Jul 2015 21:44:54 GMT
Update flagutil.test.js

Project: http://git-wip-us.apache.org/repos/asf/cordova-coho/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-coho/commit/b392ae7e
Tree: http://git-wip-us.apache.org/repos/asf/cordova-coho/tree/b392ae7e
Diff: http://git-wip-us.apache.org/repos/asf/cordova-coho/diff/b392ae7e

Branch: refs/heads/master
Commit: b392ae7e19b9c0877c13233afd3ab0b08f84e3c3
Parents: aa8ad87
Author: maverickmishra <maverickmishra@users.noreply.github.com>
Authored: Thu Jul 9 14:52:02 2015 -0700
Committer: maverickmishra <maverickmishra@users.noreply.github.com>
Committed: Thu Jul 9 14:52:02 2015 -0700

----------------------------------------------------------------------
 test/flagutil.test.js | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-coho/blob/b392ae7e/test/flagutil.test.js
----------------------------------------------------------------------
diff --git a/test/flagutil.test.js b/test/flagutil.test.js
index 092d33d..5239a6e 100644
--- a/test/flagutil.test.js
+++ b/test/flagutil.test.js
@@ -19,9 +19,10 @@ test('test computeReposFromFlagiOS', function(t) {
 });
 
 test('test computeReposFromFlagWindows', function(t) {
-    t.plan(4);
+    t.plan(5);
     var repo = flagutil.computeReposFromFlag('windows');
     t.equal(repo.length, 1);
+    t.equal(repo[0].cordovaJsSrcName,'cordova.windows.js');
     t.equal(typeof repo[0], 'object');
     t.equal(repo[0].id, 'windows');
     t.equal(repo[0].repoName, 'cordova-windows');
@@ -38,10 +39,11 @@ test('test computeReposFromFlagWindows', function(t) {
 //
 // });
 test('test computeReposFromFlagWindowsPhone8', function(t) {
-    t.plan(4);
+    t.plan(5);
     var repo = flagutil.computeReposFromFlag('wp8');
     t.equal(repo.length, 1);
     t.equal(typeof repo[0], 'object');
+    t.equal(repo[0].cordovaJsSrcName,'cordova.wp8.js');
     t.equal(repo[0].id, 'wp8');
     t.equal(repo[0].repoName, 'cordova-wp8');
 });


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org


Mime
View raw message