We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ac5eefb commit 47a8869Copy full SHA for 47a8869
graal-js/src/com.oracle.truffle.js.test/src/com/oracle/truffle/js/test/runtime/JSRuntimeTest.java
@@ -296,7 +296,7 @@ public void testToPrimitiveRuntimeAndNode() {
296
Object v1 = values[i];
297
Object r1 = JSRuntime.toPrimitive(v1, hint);
298
Object r2 = node.execute(v1);
299
- assertTrue("wrong outcome of ToPrimitive for i=" + i + " (" + v1 + ")", r1.equals(r2));
+ assertTrue("wrong outcome of ToPrimitive for i=" + i + " (" + v1 + ")", JSRuntime.identical(r1, r2));
300
}
301
302
0 commit comments