diff options
Diffstat (limited to 'src/test/java/de/hysky/skyblocker/skyblock/dwarven/CrystalsLocationManagerTest.java')
-rw-r--r-- | src/test/java/de/hysky/skyblocker/skyblock/dwarven/CrystalsLocationManagerTest.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/test/java/de/hysky/skyblocker/skyblock/dwarven/CrystalsLocationManagerTest.java b/src/test/java/de/hysky/skyblocker/skyblock/dwarven/CrystalsLocationManagerTest.java index 11331fae..10c55faf 100644 --- a/src/test/java/de/hysky/skyblocker/skyblock/dwarven/CrystalsLocationManagerTest.java +++ b/src/test/java/de/hysky/skyblocker/skyblock/dwarven/CrystalsLocationManagerTest.java @@ -13,9 +13,9 @@ class CrystalsLocationManagerTest { @Test void testRegex() { - Assertions.assertTrue(matches("x123 y12 z123")); - Assertions.assertTrue(matches("x123, y12, z123")); - Assertions.assertTrue(matches("Player: 123 12 123")); //This and the ones below fail when specified in the same format as those above, as the regex check assumes that the message is sent somewhere in a message and that it isn't the whole message + Assertions.assertTrue(matches("Player: x123 y12 z123")); + Assertions.assertTrue(matches("Player: x123, y12, z123")); + Assertions.assertTrue(matches("Player: 123 12 123")); Assertions.assertTrue(matches("Player: 123 123 123")); Assertions.assertTrue(matches("Player: 123, 12, 123")); Assertions.assertTrue(matches("Player: 123, 123, 123")); |