Patcher support for icon regions
This commit is contained in:
@@ -250,6 +250,15 @@ public class PatcherTests{
|
||||
assertEquals(1, Vars.state.patcher.patches.first().warnings.size);
|
||||
}
|
||||
|
||||
@Test
|
||||
void testNoIdAssign() throws Exception{
|
||||
Vars.state.patcher.apply(Seq.with("""
|
||||
block.router.id: 9231
|
||||
"""));
|
||||
|
||||
assertEquals(1, Vars.state.patcher.patches.first().warnings.size);
|
||||
}
|
||||
|
||||
@Test
|
||||
void testUnknownFieldWarn() throws Exception{
|
||||
Vars.state.patcher.apply(Seq.with("""
|
||||
|
||||
Reference in New Issue
Block a user