aboutsummaryrefslogtreecommitdiff
path: root/tests/prop.scm
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2020-06-30 01:45:33 +0200
committerHugo Hörnquist <hugo@lysator.liu.se>2020-07-07 13:10:38 +0200
commitd6304f9b0acd3894fd08fccee75ab47d10f9a64a (patch)
tree51c08b7e65d7ce41d97f51dcbe2557c1b851fd3b /tests/prop.scm
parentAdd basic event creation from HTML. (diff)
downloadcalp-d6304f9b0acd3894fd08fccee75ab47d10f9a64a.tar.gz
calp-d6304f9b0acd3894fd08fccee75ab47d10f9a64a.tar.xz
Rename attributes => properties, properties => parameters.
Diffstat (limited to 'tests/prop.scm')
-rw-r--r--tests/prop.scm12
1 files changed, 7 insertions, 5 deletions
diff --git a/tests/prop.scm b/tests/prop.scm
index a178170d..60831e14 100644
--- a/tests/prop.scm
+++ b/tests/prop.scm
@@ -1,4 +1,6 @@
-(((vcomponent base) prop attr* properties)
+;;; TODO rename this file to param.scm
+
+(((vcomponent base) param attr* parameters)
((vcomponent parse) parse-calendar)
((util) sort*))
@@ -8,10 +10,10 @@ KEY;A=1;B=2:Some text
END:DUMMY"
parse-calendar))
-(test-equal '("1") (prop (attr* v 'KEY) 'A))
-(test-equal '("2") (prop (attr* v 'KEY) 'B))
-(test-equal #f (prop (attr* v 'KEY) 'C))
+(test-equal '("1") (param (attr* v 'KEY) 'A))
+(test-equal '("2") (param (attr* v 'KEY) 'B))
+(test-equal #f (param (attr* v 'KEY) 'C))
-(test-equal '(A B) (sort* (map car (properties (attr* v 'KEY)))
+(test-equal '(A B) (sort* (map car (parameters (attr* v 'KEY)))
string<?
symbol->string))