Skip to content

Commit 99449a7

Browse files
committed
making tests platform indepdendent
1 parent 0d0027b commit 99449a7

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/test/clojure/clojure/tools/build/tasks/test_uber.clj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -192,12 +192,12 @@
192192
(slurp (project-path "target/unzip/overwrite.txt"))))
193193

194194
;; append files append
195-
(is (= (str (slurp (project-path "j1/append.txt")) "\n"
195+
(is (= (str (slurp (project-path "j1/append.txt")) (System/lineSeparator)
196196
(slurp (project-path "j2/append.txt")))
197197
(slurp (project-path "target/unzip/append.txt"))))
198198

199199
;; LICENSE files append but no dupes - include j1 and j2, but not j3 (dupe of j1)
200-
(is (= (str (slurp (project-path "j1/META-INF/LICENSE.txt")) "\n"
200+
(is (= (str (slurp (project-path "j1/META-INF/LICENSE.txt")) (System/lineSeparator)
201201
(slurp (project-path "j2/META-INF/LICENSE.txt")))
202202
(slurp (project-path "target/unzip/META-INF/LICENSE.txt"))))))
203203

0 commit comments

Comments
 (0)