diff --git a/src/test/java/com/fishercoder/secondthousand/_1233Test.java b/src/test/java/com/fishercoder/secondthousand/_1233Test.java index 1d5fcc48d4..bdf32b8894 100644 --- a/src/test/java/com/fishercoder/secondthousand/_1233Test.java +++ b/src/test/java/com/fishercoder/secondthousand/_1233Test.java @@ -1,13 +1,12 @@ package com.fishercoder.secondthousand; +import static org.assertj.core.api.AssertionsForInterfaceTypes.assertThat; + import com.fishercoder.solutions.secondthousand._1233; +import java.util.ArrayList; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -import java.util.ArrayList; - -import static org.assertj.core.api.AssertionsForInterfaceTypes.assertThat; - public class _1233Test { private _1233.Solution1 solution1; private static String[] folder; @@ -19,7 +18,7 @@ public void setup() { @Test public void test1() { - folder = new String[]{"/a", "/a/b", "/c/d", "/c/d/e", "/c/f"}; + folder = new String[] {"/a", "/a/b", "/c/d", "/c/d/e", "/c/f"}; ArrayList expected = new ArrayList(); expected.add("/a"); expected.add("/c/d"); @@ -29,7 +28,7 @@ public void test1() { @Test public void test2() { - folder = new String[]{"/a", "/a/b/c", "/a/b/d"}; + folder = new String[] {"/a", "/a/b/c", "/a/b/d"}; ArrayList expected = new ArrayList(); expected.add("/a"); assertThat(expected).hasSameElementsAs(solution1.removeSubfolders(folder));