diff options
Diffstat (limited to 'tests/vcomponent-control.scm')
-rw-r--r-- | tests/vcomponent-control.scm | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/tests/vcomponent-control.scm b/tests/vcomponent-control.scm index 2ee4c243..a1300a8c 100644 --- a/tests/vcomponent-control.scm +++ b/tests/vcomponent-control.scm @@ -10,20 +10,20 @@ (define ev (call-with-input-string "BEGIN:DUMMY -KEY:value +X-KEY:value END:DUMMY" parse-calendar)) ;; Test that temoraries are set and restored -(test-equal "value" (prop ev 'KEY)) -(with-replaced-properties (ev (KEY "other")) - (test-equal "other" (prop ev 'KEY))) -(test-equal "value" (prop ev 'KEY)) +(test-equal "value" (prop ev 'X-KEY)) +(with-replaced-properties (ev (X-KEY "other")) + (test-equal "other" (prop ev 'X-KEY))) +(test-equal "value" (prop ev 'X-KEY)) ;; Test that they are restored on non-local exit (catch #t (lambda () - (with-replaced-properties (ev (KEY "other")) + (with-replaced-properties (ev (X-KEY "other")) (throw 'any))) (lambda _ - (test-equal "value" (prop ev 'KEY)))) + (test-equal "value" (prop ev 'X-KEY)))) |