Commit Graph

4 Commits

Author SHA1 Message Date
Tom Alexander
c3fe7b47af
Added a test for backtracking.
DustJS appears to not do any backtracking.
2020-05-03 16:49:34 -04:00
Tom Alexander
2b6c3990a9
Add test for a multi-step walk into a parent context.
This test proves that the dynamic scoping does not add the intermediate steps when doing a multi-step walk.
2020-05-03 16:32:29 -04:00
Tom Alexander
45facfed0d
Improve the walk up test to prove that DustJS is doing dynamic scoping, not lexical scoping. 2020-05-03 16:13:29 -04:00
Tom Alexander
9adb88d132
Added a test case for walking up the context 2020-05-03 15:47:21 -04:00