Skip to content

Commit a970c9e

Browse files
committed
remove dead code
1 parent 3d8820a commit a970c9e

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

test/compojure/api/core_integration_test.clj

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -147,15 +147,15 @@
147147
(GET* "/third" []
148148
(ok {:value "third"}))))
149149
(fact "first returns first"
150-
(let [[status body headers] (get* api "/first" {})]
150+
(let [[status body] (get* api "/first" {})]
151151
status => 200
152152
body => {:value "first"}))
153153
(fact "second returns foo"
154-
(let [[status body headers] (get* api "/second" {})]
154+
(let [[status body] (get* api "/second" {})]
155155
status => 200
156156
body => {:value "foo"}))
157157
(fact "third returns third"
158-
(let [[status body headers] (get* api "/third" {})]
158+
(let [[status body] (get* api "/third" {})]
159159
status => 200
160160
body => {:value "third"})))
161161

@@ -167,7 +167,7 @@
167167
:middlewares [middleware-x]
168168
(ok {:value x}))))
169169
(fact "middleware edits the parameter before route body"
170-
(let [[status body headers] (get* api "/first?x=5" {})]
170+
(let [[status body] (get* api "/first?x=5" {})]
171171
status => 200
172172
body => {:value 10})))
173173

@@ -639,12 +639,12 @@
639639
(tabular
640640
(facts
641641
(fact {:midje/description (str ?content-type " to json")}
642-
(let [[status body headers]
642+
(let [[status body]
643643
(raw-post* api "/echo" ?body ?content-type {:accept "application/json"})]
644644
status => 200
645645
body => "{\"foo\":\"bar\"}"))
646646
(fact {:midje/description (str "json to " ?content-type)}
647-
(let [[status body headers]
647+
(let [[status body]
648648
(raw-post* api "/echo" "{\"foo\":\"bar\"}" "application/json" {:accept ?content-type})]
649649
status => 200
650650
body => ?body)))

0 commit comments

Comments
 (0)