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)
@WholeClassCompilation
@SkipJVM
public class ExportClass {
public class ExportClassTest {
@Test
public void simpleClassExported() {
assertEquals("(OK)", callIFromJs(new SimpleClass()));
@ -51,7 +51,7 @@ public class ExportClass {
private static native String extractFoo(J a);
@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 {
String foo(String a);