Fix temp test

This commit is contained in:
Oystein Kristoffer Tveit 2021-02-17 18:43:31 +01:00
parent f33db7e4e7
commit 1c191e2c17
3 changed files with 5 additions and 4 deletions

View File

@ -69,7 +69,9 @@
<release>15</release> <release>15</release>
<showWarnings>true</showWarnings> <showWarnings>true</showWarnings>
<showDeprecation>true</showDeprecation> <showDeprecation>true</showDeprecation>
<compilerArgs>--enable-preview</compilerArgs> <compilerArgs>
<arg>--enable-preview</arg>
</compilerArgs>
</configuration> </configuration>
</plugin> </plugin>
@ -78,7 +80,7 @@
<artifactId>maven-surefire-plugin</artifactId> <artifactId>maven-surefire-plugin</artifactId>
<version>3.0.0-M5</version> <version>3.0.0-M5</version>
<configuration> <configuration>
<compilerArgs>--enable-preview</compilerArgs> <argLine>--enable-preview</argLine>
</configuration> </configuration>
</plugin> </plugin>

View File

@ -4,7 +4,6 @@ module app {
requires javafx.fxml; requires javafx.fxml;
requires javafx.graphics; requires javafx.graphics;
requires org.fxmisc.richtext; requires org.fxmisc.richtext;
requires org.junit.jupiter.api;
exports app; exports app;
} }

View File

@ -5,7 +5,7 @@ import static org.junit.jupiter.api.Assertions.assertEquals;
import org.junit.jupiter.api.Test; import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.DisplayName;
public class MainTest { class MainTest {
@Test @Test
@DisplayName("Temp Test") @DisplayName("Temp Test")