Skip to content

Commit 99f9488

Browse files
committed
fix copy-paste error in test
1 parent 891ef75 commit 99f9488

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

graal-js/src/com.oracle.truffle.js.test/src/com/oracle/truffle/js/test/interop/ForeignObjectPrototypeTest.java

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -207,13 +207,13 @@ public void testJSBuiltinCanBeOverwritten() {
207207
@Test
208208
public void testForeignInstanceof() {
209209
testInstanceofIntl("Array", ProxyArray.fromArray("fun", "with", "proxy", "array"));
210-
testPrototypeIntl("Date", Instant.now());
211-
testPrototypeIntl("Map", new TestTruffleHash());
212-
testPrototypeIntl("String", new TestTruffleString());
213-
testPrototypeIntl("Boolean", new TestTruffleBoolean());
214-
testPrototypeIntl("Number", new TestTruffleNumber());
215-
testPrototypeIntl("Function", (ProxyExecutable) v -> true);
216-
testPrototypeIntl("Object", new Object());
210+
testInstanceofIntl("Date", Instant.now());
211+
testInstanceofIntl("Map", new TestTruffleHash());
212+
testInstanceofIntl("String", new TestTruffleString());
213+
testInstanceofIntl("Boolean", new TestTruffleBoolean());
214+
testInstanceofIntl("Number", new TestTruffleNumber());
215+
testInstanceofIntl("Function", (ProxyExecutable) v -> true);
216+
testInstanceofIntl("Object", new Object());
217217
}
218218

219219
private static void testInstanceofIntl(String prototype, Object obj) {

0 commit comments

Comments
 (0)