fix (load) bug

This commit is contained in:
2020-12-31 17:09:30 -07:00
parent 29f6f0ae0b
commit d91d15c102
5 changed files with 13 additions and 4 deletions

View File

@@ -261,6 +261,10 @@ class BasicTestCase extends Test {
function testCallAlias() {
_testCallAlias();
}
function testLoadedFunction() {
Assert.equals("loaded", BasicTestCase.loadedFunction());
}
}
class BasicObject {

View File

@@ -1,3 +1,6 @@
// (load) brings in the fields and compile-time definitions of another Kiss file
(load "BasicTestCaseExtra.kiss")
// (defvar) declares static variables
(defvar message "Howdy")

View File

@@ -0,0 +1 @@
(defun loadedFunction [] "loaded")