diff --git a/transpiler/javatests/com/google/j2cl/integration/java/jsenum/Main.java b/transpiler/javatests/com/google/j2cl/integration/java/jsenum/Main.java index 6e822af6e5..0518f73cfc 100644 --- a/transpiler/javatests/com/google/j2cl/integration/java/jsenum/Main.java +++ b/transpiler/javatests/com/google/j2cl/integration/java/jsenum/Main.java @@ -116,7 +116,7 @@ private static void testNativeJsEnum() { assertTrue(o.toString().equals(OK_STRING)); assertTrue(o.equals(NativeEnum.ACCEPT)); assertTrue(o.equals(OK_STRING)); - assertTrue(v.equals(StringNativeEnum.OK)); + assertTrue(o.equals(StringNativeEnum.OK)); assertFalse(v instanceof Enum); assertTrue((Object) v instanceof String);