Fix minor typo in test

This commit is contained in:
Alexey Andreev 2023-07-31 10:10:21 +02:00
parent c4c6b029e3
commit 03cd5907eb

View File

@ -28,7 +28,7 @@ import org.teavm.junit.WholeClassCompilation;
@RunWith(TeaVMTestRunner.class) @RunWith(TeaVMTestRunner.class)
@WholeClassCompilation @WholeClassCompilation
@SkipJVM @SkipJVM
public class ExportClass { public class ExportClassTest {
@Test @Test
public void simpleClassExported() { public void simpleClassExported() {
assertEquals("(OK)", callIFromJs(new SimpleClass())); assertEquals("(OK)", callIFromJs(new SimpleClass()));
@ -51,7 +51,7 @@ public class ExportClass {
private static native String extractFoo(J a); private static native String extractFoo(J a);
@JSBody(params = "a", script = "a.foo = 'w';") @JSBody(params = "a", script = "a.foo = 'w';")
private static native String setFoo(J a); private static native void setFoo(J a);
interface I extends JSObject { interface I extends JSObject {
String foo(String a); String foo(String a);