Skip to content

Commit bb1af5c

Browse files
committed
Update Rtag NBTCompoundArgument tests to 1.20.5
1 parent 4584e1c commit bb1af5c

File tree

1 file changed

+1
-5
lines changed
  • commandapi-platforms/commandapi-bukkit/commandapi-bukkit-test/commandapi-bukkit-test-tests/src/test/java/dev/jorel/commandapi/test/arguments

1 file changed

+1
-5
lines changed

commandapi-platforms/commandapi-bukkit/commandapi-bukkit-test/commandapi-bukkit-test-tests/src/test/java/dev/jorel/commandapi/test/arguments/ArgumentNBTCompoundRtagTests.java

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
import static org.junit.jupiter.api.Assertions.assertArrayEquals;
44
import static org.junit.jupiter.api.Assertions.assertEquals;
55
import static org.junit.jupiter.api.Assertions.fail;
6-
import static org.junit.jupiter.api.Assumptions.assumeTrue;
76

87
import java.util.List;
98
import java.util.Map;
@@ -19,7 +18,6 @@
1918

2019
import be.seeseemelk.mockbukkit.entity.PlayerMock;
2120
import dev.jorel.commandapi.CommandAPICommand;
22-
import dev.jorel.commandapi.MCVersion;
2321
import dev.jorel.commandapi.arguments.NBTCompoundArgument;
2422
import dev.jorel.commandapi.test.MockPlatform;
2523
import dev.jorel.commandapi.test.Mut;
@@ -36,9 +34,6 @@ class ArgumentNBTCompoundRtagTests extends TestBase {
3634

3735
@BeforeEach
3836
public void setUp() {
39-
// Ignoring 1.20.5 for NBT tests until they update
40-
assumeTrue(version.lessThan(MCVersion.V1_20_5));
41-
4237
// There are lots of ways to use Rtag!
4338

4439
// The simplest case just uses plain ol' object to object mapping. This
@@ -80,6 +75,7 @@ public void setUp() {
8075
case V1_20 -> "v1_20_R1";
8176
case V1_20_2 -> "v1_20_R2";
8277
case V1_20_3 -> "v1_20_R3";
78+
case V1_20_5 -> "v1_20_R4";
8379
default -> throw new IllegalArgumentException("Unexpected value: " + version);
8480
};
8581

0 commit comments

Comments
 (0)