fix snip test example setup
This commit is contained in:
parent
87e17a89da
commit
fc61b26e04
|
@ -59,6 +59,7 @@
|
||||||
gui-loaded)))))
|
gui-loaded)))))
|
||||||
|
|
||||||
(parameterize ([current-namespace (make-base-namespace)])
|
(parameterize ([current-namespace (make-base-namespace)])
|
||||||
|
(namespace-attach-module orig-namespace 'mred/mred)
|
||||||
(define loaded (format "~s" (dynamic-require save-filename 's)))
|
(define loaded (format "~s" (dynamic-require save-filename 's)))
|
||||||
(unless (regexp-match #rx"struct:object:circle-snip%" loaded)
|
(unless (regexp-match #rx"struct:object:circle-snip%" loaded)
|
||||||
(error 'test-snip-example.rkt "didn't find circle snip.3, found ~s" loaded)))
|
(error 'test-snip-example.rkt "didn't find circle snip.3, found ~s" loaded)))
|
||||||
|
|
Loading…
Reference in New Issue
Block a user