SanitizedFileTest requires systems with "/" for a path separator
closes #622 https://gitlab.com/fdroid/fdroidclient/issues/622
This commit is contained in:
parent
1914f5f3e1
commit
a03629d29d
@ -5,11 +5,13 @@ import org.junit.Test;
|
|||||||
import java.io.File;
|
import java.io.File;
|
||||||
|
|
||||||
import static org.junit.Assert.assertEquals;
|
import static org.junit.Assert.assertEquals;
|
||||||
|
import static org.junit.Assume.assumeTrue;
|
||||||
|
|
||||||
public class SanitizedFileTest {
|
public class SanitizedFileTest {
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void testSanitizedFile() {
|
public void testSanitizedFile() {
|
||||||
|
assumeTrue("/".equals(System.getProperty("file.separator")));
|
||||||
|
|
||||||
File directory = new File("/tmp/blah");
|
File directory = new File("/tmp/blah");
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user