Skip to content
Snippets Groups Projects
Commit 5c3cce7f authored by Andreas Romeyke's avatar Andreas Romeyke
Browse files

- refactoring, use assertEquals instead String.equals

parent cbc9512c
No related branches found
No related tags found
No related merge requests found
Pipeline #3379 passed
......@@ -7,7 +7,7 @@ import org.junit.runners.JUnit4;
import java.io.File;
import java.util.HashMap;
import static org.junit.Assert.assertTrue;
import static org.junit.Assert.assertEquals;
/**
* Tests for {@link org.slub.rosetta.dps.repository.plugin.storage.nfs.SLUBStoragePlugin}.
......@@ -27,7 +27,7 @@ public class TestSLUBStoragePlugin {
// TODO:
File calced_path = mock.getStreamDirectory("foo", "bar");
//System.out.println("getStreamDirectory:"+ calced_path.getName()+ "\n");
assertTrue("getStreamDirectory test", calced_path.getName().equals("bar"));
assertEquals("getStreamDirectory test", "bar", calced_path.getName());
}
/*
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment