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>
<showWarnings>true</showWarnings>
<showDeprecation>true</showDeprecation>
<compilerArgs>--enable-preview</compilerArgs>
<compilerArgs>
<arg>--enable-preview</arg>
</compilerArgs>
</configuration>
</plugin>
@ -78,7 +80,7 @@
<artifactId>maven-surefire-plugin</artifactId>
<version>3.0.0-M5</version>
<configuration>
<compilerArgs>--enable-preview</compilerArgs>
<argLine>--enable-preview</argLine>
</configuration>
</plugin>

View File

@ -4,7 +4,6 @@ module app {
requires javafx.fxml;
requires javafx.graphics;
requires org.fxmisc.richtext;
requires org.junit.jupiter.api;
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.DisplayName;
public class MainTest {
class MainTest {
@Test
@DisplayName("Temp Test")