Completed
Details
Assignee
UnassignedUnassignedReporter
Ivan KozikIvan KozikLabels
Approval
OkPatch
Code and TestPriority
CriticalAffects versions
Fix versions
Details
Details
Assignee
Unassigned
UnassignedReporter
Ivan Kozik
Ivan KozikLabels
Approval
Ok
Patch
Code and Test
Priority
Affects versions
Fix versions
Created September 26, 2012 at 8:34 AM
Updated October 25, 2013 at 10:03 PM
Resolved October 25, 2013 at 10:03 PM
New pprint tests were committed recently, but they fail on Windows because the tests check for \n, while pprint seems to output \r\n. A log with the test failures is attached.
The first failing commit is https://github.com/clojure/clojure/commit/4ca0f7ea17888ba7ed56d2fde0bc2d6397e8e1c0
Patch: clj-1076-v3.txt
Approach: Before comparing output of pprint against a string in the unit test, split each of those strings into sequences of lines using clojure.string/split-lines, which removes occurrences of the regex #"\r?\n" between lines, and can thus safely be used to compare multiline strings between platforms that use only a newline, and those that use carriage return plus newline.
Screened by: Alex Miller