diff --git a/tests/edu/caltech/cs2/datastructures/CollectionTests.java b/tests/edu/caltech/cs2/datastructures/CollectionTests.java
index b1b39af9ac161e5a8962b7649003bd2ff7fef6fa..bbc3b056679f4dd4a69699e0676d5bb4eaf206da 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());
         }