Skip to content

Commit 7802024

Browse files
committed
adding test for issue #414
1 parent bab80eb commit 7802024

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

test/tech/v3/dataset/parse_test.clj

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -500,3 +500,9 @@
500500
nds (ds-transit/transit-str->dataset str-data)]
501501
(is (= (ds :a) (nds :a)))
502502
(is (= (ds :b) (nds :b)))))
503+
504+
505+
(deftest issue-414-json-parser-fn
506+
(is (= [1 2 3] (get (ds/->dataset "test/data/local_date.json"
507+
{:parser-fn {:time-period :local-date}})
508+
"test"))))

0 commit comments

Comments
 (0)