mirror of
https://github.com/Minestom/Minestom.git
synced 2024-12-29 04:28:21 +01:00
Test to avoid regression errors on '.' and '/' in NamespaceID paths
This commit is contained in:
parent
0c96de75ef
commit
aac18a19f9
@ -70,4 +70,14 @@ public class TestNamespaceIDValidity {
|
||||
public void numbersAllowed() {
|
||||
NamespaceID.from("0xc1:468786471");
|
||||
}
|
||||
|
||||
@Test
|
||||
public void dotAllowedInPath() {
|
||||
NamespaceID.from("minecraft:ambient.cave");
|
||||
}
|
||||
|
||||
@Test
|
||||
public void slashAllowedInPath() {
|
||||
NamespaceID.from("minecraft:textures/blocks/dirt.png");
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user