Pass EmbeddedScript commands the script instance

This commit is contained in:
2020-12-11 17:31:31 -07:00
parent 8108235d61
commit e07fdc1665
4 changed files with 15 additions and 10 deletions

View File

@@ -11,7 +11,7 @@ class DSLTestCase extends Test {
}
function testFork() {
new DSLScript().fork([() -> Assert.equals(5, 5), () -> Assert.equals(7, 7)]);
new DSLScript().fork([(self) -> Assert.equals(5, 5), (self) -> Assert.equals(7, 7)]);
}
}