cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From purplecabb...@apache.org
Subject [2/2] cordova-plugin-file-transfer git commit: Merge branch 'CB-9906'
Date Wed, 04 Nov 2015 06:17:49 GMT
Merge branch 'CB-9906'


Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file-transfer/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file-transfer/commit/066acb33
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file-transfer/tree/066acb33
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file-transfer/diff/066acb33

Branch: refs/heads/master
Commit: 066acb33aff08e97f6bbb1bd1b9141e9e8238cd1
Parents: 4dc697a c5d9272
Author: Jesse MacFadyen <purplecabbage@gmail.com>
Authored: Tue Nov 3 22:17:28 2015 -0800
Committer: Jesse MacFadyen <purplecabbage@gmail.com>
Committed: Tue Nov 3 22:17:28 2015 -0800

----------------------------------------------------------------------
 tests/tests.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-plugin-file-transfer/blob/066acb33/tests/tests.js
----------------------------------------------------------------------
diff --cc tests/tests.js
index fd6f09e,4ce4f95..dd3883e
--- a/tests/tests.js
+++ b/tests/tests.js
@@@ -177,10 -175,8 +177,10 @@@ exports.defineAutoTests = function () 
                  // In IE, when lengthComputable === false, event.total somehow is equal
to 2^64
                  if (isIE) {
                      expect(event.total).toBe(Math.pow(2, 64));
 +                } else if (isIOS) {
 +                    expect(event.total).toBe(-1);
                  } else {
-                     expect(event.total).toBe(0);
+                     expect(event.total).toBeLessThan(1);
                  }
              }
          };


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


Mime
View raw message