Dynamic wind
Run callbacks
Given a file named “main.scm” with:
When I successfully run scheme main.scm
Then the stdout should contain exactly “ABC”.
Call a before callback on an entrance into a dynamic extent
Given a file named “main.scm” with:
When I successfully run scheme main.scm
Then the stdout should contain exactly “ABAB”.
Call an after callback on an exit from a dynamic extent
Given a file named “main.scm” with:
When I successfully run scheme main.scm
Then the stdout should contain exactly “AB”.
Call callbacks for nested dynamic extents
Given a file named “main.scm” with:
When I successfully run scheme main.scm
Then the stdout should contain exactly “ABCDABCD”.
Call callbacks for nested dynamic extents
Given a file named “main.scm” with:
When I successfully run scheme main.scm
Then the stdout should contain exactly “ABCDEFGHABCDEFGH”.