Skip to content

Commit f2ec040

Browse files
committed
[housekeeping] format
1 parent 05d9c6e commit f2ec040

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

src/navi/transform.clj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@
9292

9393
:else
9494
content-fn)))
95-
95+
9696
DateSchema
9797
(p/transform [_] inst?)
9898

test/navi/impl_test.clj

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -40,16 +40,16 @@
4040
(let [property (Map/entry "id" (StringSchema.))]
4141
(is (= [:id {:optional true} string?]
4242
(i/->prop-schema #{"x"} property)))))
43-
43+
4444
(testing "convert a DateTime OpenAPI Map entry"
4545
(let [property (Map/entry "timestamp" (DateTimeSchema.))]
4646
(is (= [:timestamp inst?]
47-
(i/->prop-schema #{"timestamp"} property)))))
48-
47+
(i/->prop-schema #{"timestamp"} property)))))
48+
4949
(testing "convert a Date OpenAPI Map entry"
50-
(let [property (Map/entry "date" (DateSchema.))]
51-
(is (= [:date inst?]
52-
(i/->prop-schema #{"date"} property))))))
50+
(let [property (Map/entry "date" (DateSchema.))]
51+
(is (= [:date inst?]
52+
(i/->prop-schema #{"date"} property))))))
5353

5454
(deftest openapi-parameters-to-malli-spec
5555
(testing "convert a required OpenAPI Parameter"

test/navi/transform_test.clj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
(testing "datetime"
4040
(is (= inst? (p/transform (DateTimeSchema.)))))
4141
(testing "date"
42-
(is (= inst? (p/transform (DateSchema.)))))
42+
(is (= inst? (p/transform (DateSchema.)))))
4343
(testing "string"
4444
(is (= string? (p/transform (StringSchema.)))))
4545
(testing "integer"

0 commit comments

Comments
 (0)