cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From an-s...@apache.org
Subject [2/5] cordova-windows git commit: CB-10622 Fix MRTImage tests failures on Node 6.x
Date Mon, 30 May 2016 11:06:07 GMT
CB-10622 Fix MRTImage tests failures on Node 6.x


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

Branch: refs/heads/master
Commit: 89b01aa33d9613deb28914d47f7bad424603da45
Parents: ebff5d2
Author: Vladimir Kotikov <v-vlkoti@microsoft.com>
Authored: Mon May 30 13:24:23 2016 +0300
Committer: Vladimir Kotikov <kotikov.vladimir@gmail.com>
Committed: Mon May 30 13:59:37 2016 +0300

----------------------------------------------------------------------
 spec/unit/MRTImage.spec.js | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-windows/blob/89b01aa3/spec/unit/MRTImage.spec.js
----------------------------------------------------------------------
diff --git a/spec/unit/MRTImage.spec.js b/spec/unit/MRTImage.spec.js
index 4f27df0..2d5c050 100644
--- a/spec/unit/MRTImage.spec.js
+++ b/spec/unit/MRTImage.spec.js
@@ -43,9 +43,9 @@ describe('MRTImage class', function () {
             expect(new MRTImage('some/path/Basename.scale-240.png').matchesTo(testImage)).toBe(true);
             expect(new MRTImage('some/path/Basename.targetsize-20_scale-240.png').matchesTo(testImage)).toBe(true);
 
-            expect(new MRTImage(testImage).matchesTo('')).toBe(false);
-            expect(new MRTImage(testImage).matchesTo({})).toBe(false);
-            expect(new MRTImage(testImage).matchesTo(undefined)).toBe(false);
+            expect(testImage.matchesTo('')).toBe(false);
+            expect(testImage.matchesTo({})).toBe(false);
+            expect(testImage.matchesTo(undefined)).toBe(false);
 
             expect(new MRTImage('some/path/Basename.jpg').matchesTo(testImage)).toBe(false);
             expect(new MRTImage('some/path/Basename.with.dots.scale-240.png').matchesTo(testImage)).toBe(false);


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


Mime
View raw message