From 95ab28abb6b27bca5afb75787cfcbbd7c2662efc Mon Sep 17 00:00:00 2001
From: Archie Shahidullah <archie@caltech.edu>
Date: Mon, 27 Jul 2020 13:51:10 -0700
Subject: [PATCH] Update CollectionTests.java

---
 tests/edu/caltech/cs2/datastructures/CollectionTests.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/edu/caltech/cs2/datastructures/CollectionTests.java b/tests/edu/caltech/cs2/datastructures/CollectionTests.java
index b1b39af..bbc3b05 100644
--- a/tests/edu/caltech/cs2/datastructures/CollectionTests.java
+++ b/tests/edu/caltech/cs2/datastructures/CollectionTests.java
@@ -74,7 +74,7 @@ public interface CollectionTests {
         ICollection<Object> impl = newCollection();
         for (int i = 0; i < 10; i ++) {
             impl.add("a");
-            assertEquals(impl.size(), 1, "collection should have 1 element");
+            assertEquals(1, impl.size(), "collection should have 1 element");
             impl.clear();
             assertTrue(impl.isEmpty());
         }
-- 
GitLab