From 7802024ed1b292ccea5671d7eb18d1633d3aed68 Mon Sep 17 00:00:00 2001 From: Chris Nuernberger Date: Thu, 12 Sep 2024 10:39:53 -0600 Subject: [PATCH] adding test for issue #414 --- test/tech/v3/dataset/parse_test.clj | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/test/tech/v3/dataset/parse_test.clj b/test/tech/v3/dataset/parse_test.clj index f90895d9..6bd2c6f0 100644 --- a/test/tech/v3/dataset/parse_test.clj +++ b/test/tech/v3/dataset/parse_test.clj @@ -500,3 +500,9 @@ nds (ds-transit/transit-str->dataset str-data)] (is (= (ds :a) (nds :a))) (is (= (ds :b) (nds :b))))) + + +(deftest issue-414-json-parser-fn + (is (= [1 2 3] (get (ds/->dataset "test/data/local_date.json" + {:parser-fn {:time-period :local-date}}) + "test"))))