aboutsummaryrefslogtreecommitdiff
path: root/tests/vcomponent-control.scm
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2020-06-30 01:58:19 +0200
committerHugo Hörnquist <hugo@lysator.liu.se>2020-07-07 13:10:38 +0200
commit715e36ab81389ebf53ea158027d0a83f144eee0e (patch)
tree1e9522ba3bf4aef212d0b1d179e9bf1db2e6f60b /tests/vcomponent-control.scm
parentRename attributes => properties, properties => parameters. (diff)
downloadcalp-715e36ab81389ebf53ea158027d0a83f144eee0e.tar.gz
calp-715e36ab81389ebf53ea158027d0a83f144eee0e.tar.xz
Finished renamining attribute to property.
Diffstat (limited to '')
-rw-r--r--tests/vcomponent-control.scm18
1 files changed, 9 insertions, 9 deletions
diff --git a/tests/vcomponent-control.scm b/tests/vcomponent-control.scm
index 318c4335..8cc87a0a 100644
--- a/tests/vcomponent-control.scm
+++ b/tests/vcomponent-control.scm
@@ -1,6 +1,6 @@
-(((vcomponent control) with-replaced-attrs)
+(((vcomponent control) with-replaced-properties)
((vcomponent) parse-calendar)
- ((vcomponent base) attr))
+ ((vcomponent base) prop))
@@ -11,15 +11,15 @@ END:DUMMY"
parse-calendar))
;; Test that temoraries are set and restored
-(test-equal "value" (attr ev 'KEY))
-(with-replaced-attrs (ev (KEY "other"))
- (test-equal "other" (attr ev 'KEY)))
-(test-equal "value" (attr ev 'KEY))
+(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 that they are restored on non-local exit
(catch #t
(lambda ()
- (with-replaced-attrs (ev (KEY "other"))
- (throw 'any)))
+ (with-replaced-properties (ev (KEY "other"))
+ (throw 'any)))
(lambda _
- (test-equal "value" (attr ev 'KEY))))
+ (test-equal "value" (prop ev 'KEY))))