Pass EmbeddedScript commands the script instance
This commit is contained in:
@@ -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)]);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user