Skip to content
Merged
Prev Previous commit
Next Next commit
refactor: use static import for assert
  • Loading branch information
zielint0 committed Oct 11, 2018
commit 89d750da8c625487557102ed6e626bf734a109e4
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
*/
package spoon.support.compiler.classpath;

import org.junit.Assert;
import org.junit.Before;
import org.junit.Test;
import spoon.Launcher;
Expand All @@ -27,6 +26,8 @@

import java.io.File;

import static org.junit.Assert.assertEquals;

public class ComputeClasspathTest {

private static final String TEST_CLASSPATH =
Expand Down Expand Up @@ -64,6 +65,6 @@ public SpoonModelBuilder createCompiler(Factory factory) {
@Test
public void testSourceClasspath() {
final ClasspathOptions options = new ClasspathOptions().classpath(systemClasspath);
Assert.assertEquals("-cp " + TEST_CLASSPATH, String.join(" ", options.build()));
assertEquals("-cp " + TEST_CLASSPATH, String.join(" ", options.build()));
}
}