Skip to content

Commit 5dc5675

Browse files
committed
fix two tests
1 parent 0d6465a commit 5dc5675

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

test/grape/cli_test.clj

+4-6
Original file line numberDiff line numberDiff line change
@@ -226,11 +226,9 @@
226226
(testing "with line numbers"
227227
(is (= (str "1:" inline)
228228
(with-out-str
229-
(cli/match-source! source (g/pattern "(do $&)") {:line-numbers :first}))))
229+
(cli/match-source! source (g/pattern "(do $&)") {:inline? true
230+
:line-numbers :first}))))
230231
(is (= (str "1:" inline)
231232
(with-out-str
232-
(cli/match-source! source (g/pattern "(do $&)") {:line-numbers :all})))))))))
233-
234-
235-
;; TODO test that we preserve commas, #_ and comments when printing matches
236-
;; Also: preserve newlines: \r\n
233+
(cli/match-source! source (g/pattern "(do $&)") {:inline? true
234+
:line-numbers :all})))))))))

0 commit comments

Comments
 (0)