Skip to content

Commit

Permalink
Exclude clojure.core/parse-long to avoid warning
Browse files Browse the repository at this point in the history
  • Loading branch information
RickMoynihan committed Nov 20, 2023
1 parent 00626ce commit 7e959e1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/csv2rdf/xml/datatype/parsing.clj
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
[clojure.string :as string]
[csv2rdf.uax35 :as uax35]
[csv2rdf.util :as util])
(:refer-clojure :exclude [parse-long])
(:import [java.net URI URISyntaxException]
[java.util Base64]
[javax.xml.datatype DatatypeFactory]
Expand Down
3 changes: 2 additions & 1 deletion test/csv2rdf/xml/datatype/parsing_test.clj
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
(ns csv2rdf.xml.datatype.parsing-test
(:refer-clojure :exclude [parse-long])
(:require [clojure.test :refer :all]
[csv2rdf.xml.datatype.parsing :refer :all]
[csv2rdf.uax35 :as uax35]))
Expand Down Expand Up @@ -230,4 +231,4 @@

(testing "#0.0"
(let [format (uax35/parse-number-format "#0.0")]
(is (thrown? IllegalArgumentException (parse-format "decimal" "1" {:pattern format}))))))
(is (thrown? IllegalArgumentException (parse-format "decimal" "1" {:pattern format}))))))

0 comments on commit 7e959e1

Please sign in to comment.