mirror of
https://codeberg.org/PGPainless/cert-d-java.git
synced 2024-12-22 21:57:58 +01:00
Fix test running inside of flatpaked intellij resolving custom XDG_DATA_HOME
This commit is contained in:
parent
0e8bf060f2
commit
6ae12c1262
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ public class BaseDirectoryProviderTest {
|
||||||
public void testGetDefaultBaseDir_Linux() {
|
public void testGetDefaultBaseDir_Linux() {
|
||||||
assumeTrue(System.getProperty("os.name").equalsIgnoreCase("linux"));
|
assumeTrue(System.getProperty("os.name").equalsIgnoreCase("linux"));
|
||||||
File baseDir = BaseDirectoryProvider.getDefaultBaseDirForOS("linux");
|
File baseDir = BaseDirectoryProvider.getDefaultBaseDirForOS("linux");
|
||||||
assertTrue(baseDir.getAbsolutePath().endsWith("/.local/share/pgp.cert.d"));
|
assertTrue(baseDir.getAbsolutePath().endsWith("pgp.cert.d"));
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
|
Loading…
Reference in a new issue