polygene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From paulmer...@apache.org
Subject [2/2] polygene-java git commit: POLYGENE-29 Better test assertions to pass on JDK 9
Date Mon, 10 Apr 2017 09:54:00 GMT
POLYGENE-29 Better test assertions to pass on JDK 9


Project: http://git-wip-us.apache.org/repos/asf/polygene-java/repo
Commit: http://git-wip-us.apache.org/repos/asf/polygene-java/commit/425af322
Tree: http://git-wip-us.apache.org/repos/asf/polygene-java/tree/425af322
Diff: http://git-wip-us.apache.org/repos/asf/polygene-java/diff/425af322

Branch: refs/heads/develop
Commit: 425af322810e81286f42576444d88a601847068f
Parents: 255b5fc
Author: Paul Merlin <paulmerlin@apache.org>
Authored: Mon Apr 10 11:50:52 2017 +0200
Committer: Paul Merlin <paulmerlin@apache.org>
Committed: Mon Apr 10 11:50:52 2017 +0200

----------------------------------------------------------------------
 .../org/apache/polygene/library/scripting/ScriptMixinTest.java | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/polygene-java/blob/425af322/libraries/scripting/src/test/java/org/apache/polygene/library/scripting/ScriptMixinTest.java
----------------------------------------------------------------------
diff --git a/libraries/scripting/src/test/java/org/apache/polygene/library/scripting/ScriptMixinTest.java
b/libraries/scripting/src/test/java/org/apache/polygene/library/scripting/ScriptMixinTest.java
index df51580..ba12e68 100644
--- a/libraries/scripting/src/test/java/org/apache/polygene/library/scripting/ScriptMixinTest.java
+++ b/libraries/scripting/src/test/java/org/apache/polygene/library/scripting/ScriptMixinTest.java
@@ -78,9 +78,9 @@ public class ScriptMixinTest
         domain2.inc();
         domain2.inc();
         domain3.inc();
-        assertThat(domain1.count(), equalTo(4.0) );
-        assertThat(domain2.count(), equalTo(3.0) );
-        assertThat(domain3.count(), equalTo(1.0) );
+        assertThat(domain1.count(), equalTo(4.0D) );
+        assertThat(domain2.count(), equalTo(3.0D) );
+        assertThat(domain3.count(), equalTo(1.0D) );
     }
 
     @Test


Mime
View raw message