Completed
Details
Details
Assignee
Unassigned
UnassignedReporter
Andy Fingerhut
Andy FingerhutLabels
Approval
Ok
Patch
Code and Test
Priority
Affects versions
Fix versions
Created September 6, 2015 at 10:16 PM
Updated September 11, 2015 at 12:34 PM
Resolved September 11, 2015 at 12:34 PM
Inside of deftest test-pprint-calendar in file test/clojure/test_clojure/pprint/test_pretty.clj, it compares the output of pprint against a string ending in a newline character. This works fine on Linux and Mac OS X, but fails on Windows systems, as there the pprint'ed string ends with a carriage return followed by newline.
Approach: A straightforward fix is to call clojure.string/split-lines on the string, which has a return value that is independent of OS.
Screened: Alex Miller