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 static org.junit.Assert.assertEquals;
|
||||
import static org.junit.Assume.assumeTrue;
|
||||
|
||||
public class SanitizedFileTest {
|
||||
|
||||
@Test
|
||||
public void testSanitizedFile() {
|
||||
assumeTrue("/".equals(System.getProperty("file.separator")));
|
||||
|
||||
File directory = new File("/tmp/blah");
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user