about summary refs log tree commit diff
path: root/tests/work
diff options
context:
space:
mode:
authorArun Isaac2025-11-29 04:30:26 +0000
committerArun Isaac2025-11-29 04:30:26 +0000
commit069f6367b5c638c44e8f2c55ef1df604df2adac1 (patch)
tree3b0906a82e68c6862792148a65aa70578117c4c6 /tests/work
parentaf0ea85c8bd345d80d01476d9e6e8b893f1fb407 (diff)
downloadravanan-069f6367b5c638c44e8f2c55ef1df604df2adac1.tar.gz
ravanan-069f6367b5c638c44e8f2c55ef1df604df2adac1.tar.lz
ravanan-069f6367b5c638c44e8f2c55ef1df604df2adac1.zip
work/command-line-tool: Accept ints as floats too.
Diffstat (limited to 'tests/work')
-rw-r--r--tests/work/command-line-tool.scm4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/work/command-line-tool.scm b/tests/work/command-line-tool.scm
index 3d63fbb..c008412 100644
--- a/tests/work/command-line-tool.scm
+++ b/tests/work/command-line-tool.scm
@@ -26,4 +26,8 @@
   #f
   (match-type 'null (cwl-array-type 'File)))
 
+(test-equal "match int to float"
+  'float
+  (match-type 1 'float))
+
 (test-end "work.command-line-tool")