From 65c35563dd6c7f948193a40bdbc529894613f49f Mon Sep 17 00:00:00 2001 From: nakhoadl Date: Mon, 17 Jul 2017 01:57:13 +0700 Subject: [PATCH] #166 Fix test case ArrayConstructorWithSize: --- java/lang/Object/ObjectTest.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/java/lang/Object/ObjectTest.cpp b/java/lang/Object/ObjectTest.cpp index a1283b3d..c56fa421 100755 --- a/java/lang/Object/ObjectTest.cpp +++ b/java/lang/Object/ObjectTest.cpp @@ -119,6 +119,9 @@ TEST(JavaLang, ArrayConstructorWithSize) { int index; for(index = 0; index < 10; index++) { validArray.push(index); + expect = index + 1; + result = validArray.length; + ASSERT_EQUAL(expect, result); } result = validArray.length;