diff options
-rw-r--r-- | harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/RuntimeTest.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/RuntimeTest.java b/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/RuntimeTest.java index 11b7769..03a4aa0 100644 --- a/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/RuntimeTest.java +++ b/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/RuntimeTest.java @@ -114,7 +114,7 @@ public class RuntimeTest extends junit.framework.TestCase { * java.lang.Runtime#maxMemory() */ public void test_memory() { - assertTrue("freeMemory <= 0", r.freeMemory() > 0); + assertTrue("freeMemory < 0", r.freeMemory() >= 0); assertTrue("totalMemory() < freeMemory()", r.totalMemory() >= r.freeMemory()); assertTrue("maxMemory() < totalMemory()", r.maxMemory() >= r.totalMemory()); } |