mirror of
https://github.com/Eaglercraft-TeaVM-Fork/eagler-teavm.git
synced 2024-12-22 08:14:09 -08:00
Fix minor typo in test
This commit is contained in:
parent
c4c6b029e3
commit
03cd5907eb
|
@ -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);
|
Loading…
Reference in New Issue
Block a user