From 03cd5907ebb83ca7572da5b0fd092b4bf843ed34 Mon Sep 17 00:00:00 2001 From: Alexey Andreev Date: Mon, 31 Jul 2023 10:10:21 +0200 Subject: [PATCH] Fix minor typo in test --- .../teavm/jso/test/{ExportClass.java => ExportClassTest.java} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename tests/src/test/java/org/teavm/jso/test/{ExportClass.java => ExportClassTest.java} (97%) diff --git a/tests/src/test/java/org/teavm/jso/test/ExportClass.java b/tests/src/test/java/org/teavm/jso/test/ExportClassTest.java similarity index 97% rename from tests/src/test/java/org/teavm/jso/test/ExportClass.java rename to tests/src/test/java/org/teavm/jso/test/ExportClassTest.java index d44f87367..983176445 100644 --- a/tests/src/test/java/org/teavm/jso/test/ExportClass.java +++ b/tests/src/test/java/org/teavm/jso/test/ExportClassTest.java @@ -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);