diff --git a/janino/src/test/java/org/codehaus/janino/tests/GithubIssuesTest.java b/janino/src/test/java/org/codehaus/janino/tests/GithubIssuesTest.java index c645fd50..e61d200a 100644 --- a/janino/src/test/java/org/codehaus/janino/tests/GithubIssuesTest.java +++ b/janino/src/test/java/org/codehaus/janino/tests/GithubIssuesTest.java @@ -369,7 +369,7 @@ class GithubIssuesTest { if (ai instanceof CodeAttribute) { CodeAttribute ca = (CodeAttribute) ai; - Assert.assertEquals(-1, bcs); + Assert.assertEquals(-1, bcs[0]); bcs[0] = ca.code.length; } } @@ -379,7 +379,7 @@ class GithubIssuesTest { } }); - Assert.assertEquals(9, bcs); + Assert.assertEquals(9, bcs[0]); } @Test public void