about summary refs log tree commit diff
path: root/tests
diff options
context:
space:
mode:
authorArun Isaac2023-12-01 22:36:37 +0000
committerArun Isaac2023-12-01 22:36:37 +0000
commitd5fadbd7d93fe047a37591a149bae007c359b88c (patch)
treea8d0aa79eccafa3e924400bfd292324c97b4bcdb /tests
parent770b738fe62112fc16c5213bd5769a8a54074fc7 (diff)
downloadccwl-d5fadbd7d93fe047a37591a149bae007c359b88c.tar.gz
ccwl-d5fadbd7d93fe047a37591a149bae007c359b88c.tar.lz
ccwl-d5fadbd7d93fe047a37591a149bae007c359b88c.zip
tests: Put expected expression before actual expression.
* tests/ccwl.scm ("rename should work even on the final output of a
workflow"): Put expected expression before actual expression.
Diffstat (limited to 'tests')
-rw-r--r--tests/ccwl.scm4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/ccwl.scm b/tests/ccwl.scm
index d3e1a96..9e73c50 100644
--- a/tests/ccwl.scm
+++ b/tests/ccwl.scm
@@ -133,14 +133,14 @@
            #:outputs (printed-message #:type stdout)))
 
 (test-equal "rename should work even on the final output of a workflow"
+  (list 'out1 'printed-message)
   (map output-id
        (workflow-outputs
         (workflow ((message1 #:type string)
                    (message2 #:type string))
           (tee (pipe (print (print1) #:message message1)
                      (rename #:out1 printed-message))
-               (print (print2) #:message message2)))))
-  (list 'out1 'printed-message))
+               (print (print2) #:message message2))))))
 
 ;; TODO: Define this in the lexical scope of the test that requires
 ;; it.