Commits

Miki Tebeka committed 082f761

Format works

  • Participants
  • Parent commits ceb8a9e
  • Branches write

Comments (0)

Files changed (1)

File test/csvlib_test.clj

 
 (deftest test-write-format
   (let [tmp (tempfile)
-        format {0 #(format "format %s" %)}]
-    (write-csv [[1 2 3] [4 5 6]] tmp format)
+        format {0 #(format "format-%s" %)}]
+    (write-csv [[1 2 3] [4 5 6]] tmp :format format)
     (is (= (slurp tmp) "format-1,2,3\nformat-4,5,6\n"))))