Skip to content

Commit 211f3c0

Browse files
committed
fix indent and remove exit
1 parent f3ad398 commit 211f3c0

2 files changed

Lines changed: 5 additions & 6 deletions

File tree

src/practitest_firecracker/practitest.clj

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,7 @@
3333
(apply format (str base-uri resource-uri-template) params))
3434

3535
(defn throw-api-exception [ex-info status body uri]
36-
(exit status (group-errors body))
37-
(System/exit status))
36+
(exit status (group-errors body)))
3837

3938
(defn api-call [{:keys [credentials uri method query-params form-params]}]
4039
(assert (not (and query-params form-params))

src/practitest_firecracker/query_dsl.clj

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,11 +56,11 @@
5656
(ex-info "Syntax error: 'drop-last' must have one or two arguments"
5757
{:query query})))
5858
'take-last (case (count args)
59-
1 (take-last 1 (first args))
59+
1 (take-last 1 (first args))
6060
2 (take-last (first args) (second args))
61-
(throw
62-
(ex-info "Syntax error: 'take-last' must have one or two arguments"
63-
{:query query})))
61+
(throw
62+
(ex-info "Syntax error: 'take-last' must have one or two arguments"
63+
{:query query})))
6464
'concat (apply str args)
6565
'capitalize (if (= 1 (count args))
6666
(map string/capitalize (first args))

0 commit comments

Comments
 (0)