diff options
-rw-r--r-- | tests/prop.scm | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/tests/prop.scm b/tests/prop.scm index 64304301..15ccb355 100644 --- a/tests/prop.scm +++ b/tests/prop.scm @@ -1,4 +1,5 @@ -(use-modules (vcomponent)) +(use-modules (vcomponent) + (util)) (define v (make-vcomponent (string-append (getenv "TESTPATH") @@ -8,4 +9,6 @@ (test-equal '("2") (prop (attr* v 'KEY) 'B)) (test-equal #f (prop (attr* v 'KEY) 'C)) -(test-equal '(A B) (map car (properties (attr* v 'KEY)))) +(test-equal '(A B) (sort* (map car (properties (attr* v 'KEY))) + string<? + symbol->string)) |