From 62ea5bedcdad8d3257272d3537c02729f91447f6 Mon Sep 17 00:00:00 2001
From: Archie Shahidullah <archie@caltech.edu>
Date: Wed, 29 Jul 2020 16:26:49 -0700
Subject: [PATCH] Update CaesarCipherSolverTests.java

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

diff --git a/tests/edu/caltech/cs2/project01/CaesarCipherSolverTests.java b/tests/edu/caltech/cs2/project01/CaesarCipherSolverTests.java
index 1445cd1..dd64b51 100644
--- a/tests/edu/caltech/cs2/project01/CaesarCipherSolverTests.java
+++ b/tests/edu/caltech/cs2/project01/CaesarCipherSolverTests.java
@@ -93,7 +93,7 @@ class CaesarCipherSolverTests {
     @ValueSource(strings = { "", "HI", "HI THERE", "A B C D E F GGG", "TRUTH IS NOT A DEMOCRACY", DECLARATION})
     public void testSplitBySpaces(String toSplit) {
         List<String> list = CaesarCipherSolver.splitBySpaces(toSplit);
-        assertEquals(toSplit.trim(), String.join(" ", list));
+        assertIterableEquals(Arrays.asList(toSplit.trim().split(" ")), list);
     }
 
     @Order(8)
-- 
GitLab