Skip to content

Commit

Permalink
Fixed the test assumption for Linux AppPlatform.
Browse files Browse the repository at this point in the history
  • Loading branch information
Oliver-Loeffler committed Aug 29, 2021
1 parent ffc05a5 commit 8012608
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@
package com.oracle.javafx.scenebuilder.app;

import static org.junit.Assert.assertEquals;
import static org.junit.Assume.assumeFalse;
import static org.junit.Assume.assumeTrue;

import java.nio.file.Path;
Expand Down Expand Up @@ -69,8 +68,6 @@ public void that_mac_application_data_directory_is_specific_to_version() {

@Test
public void that_linux_application_data_directory_is_specific_to_version() {
assumeFalse(getOsName().contains("windows"));
assumeFalse(getOsName().contains("mac"));
assumeTrue(getOsName().contains("linux"));
Path appDataDir = Paths.get(AppPlatform.getApplicationDataFolder());
Path expected = Paths.get(System.getProperty("user.home"))
Expand Down

0 comments on commit 8012608

Please sign in to comment.