diff options
author | Raven Szewczyk <git@eigenraven.me> | 2022-08-27 10:19:57 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-27 11:19:57 +0200 |
commit | 6f31720697bcc351421a4d86ba3bf749375dd12c (patch) | |
tree | 3adf8f318f22c892d74cd7c9d30b6dd3f11f11bd /src/test/java/gregtech/common/items | |
parent | c3eac50decd33ee2be8703dfb2ecf9cdc31c2b67 (diff) | |
download | GT5-Unofficial-6f31720697bcc351421a4d86ba3bf749375dd12c.tar.gz GT5-Unofficial-6f31720697bcc351421a4d86ba3bf749375dd12c.tar.bz2 GT5-Unofficial-6f31720697bcc351421a4d86ba3bf749375dd12c.zip |
Update buildscript & apply spotless (#1306)
* Update dependencies
* Update buildscript, apply spotless
Diffstat (limited to 'src/test/java/gregtech/common/items')
-rw-r--r-- | src/test/java/gregtech/common/items/CombTypeTest.java | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/src/test/java/gregtech/common/items/CombTypeTest.java b/src/test/java/gregtech/common/items/CombTypeTest.java index 0f55d0afd1..f140c81467 100644 --- a/src/test/java/gregtech/common/items/CombTypeTest.java +++ b/src/test/java/gregtech/common/items/CombTypeTest.java @@ -1,12 +1,11 @@ package gregtech.common.items; -import org.junit.jupiter.api.Test; +import static org.junit.jupiter.api.Assertions.assertEquals; +import static org.junit.jupiter.api.Assertions.assertTrue; import java.util.HashSet; import java.util.Set; - -import static org.junit.jupiter.api.Assertions.assertEquals; -import static org.junit.jupiter.api.Assertions.assertTrue; +import org.junit.jupiter.api.Test; class CombTypeTest { @Test @@ -20,10 +19,8 @@ class CombTypeTest { @Test void noNegativeID() { for (CombType value : CombType.values()) { - if (value == CombType._NULL) - assertTrue(value.getId() <= 0, "Comb type ID must be negative for _NULL"); - else - assertTrue(value.getId() >= 0, "Comb type ID must not be negative"); + if (value == CombType._NULL) assertTrue(value.getId() <= 0, "Comb type ID must be negative for _NULL"); + else assertTrue(value.getId() >= 0, "Comb type ID must not be negative"); } } |