diff options
Diffstat (limited to 'tests/work/command-line-tool.scm')
| -rw-r--r-- | tests/work/command-line-tool.scm | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/tests/work/command-line-tool.scm b/tests/work/command-line-tool.scm index 3d11b53..93b97d4 100644 --- a/tests/work/command-line-tool.scm +++ b/tests/work/command-line-tool.scm @@ -1,5 +1,5 @@ ;;; ravanan --- High-reproducibility CWL runner powered by Guix -;;; Copyright © 2024 Arun Isaac <arunisaac@systemreboot.net> +;;; Copyright © 2024, 2025 Arun Isaac <arunisaac@systemreboot.net> ;;; ;;; This file is part of ravanan. ;;; @@ -24,6 +24,14 @@ (test-equal "match null object to array type" #f - (match-type 'null (array-type 'File))) + (match-type 'null (cwl-array-type 'File))) + +(test-equal "match int to float" + 'float + (match-type 1 'float)) + +(test-equal "match float to float" + 'float + (match-type 1.3 'float)) (test-end "work.command-line-tool") |
