<< Back to previous view

[CONTRIB-109] Incorrect line separator handling in spy macro Created: 18/May/11  Updated: 18/May/11  Resolved: 18/May/11

Status: Resolved
Project: Clojure-Contrib
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Defect Priority: Trivial
Reporter: Alexander Taggart Assignee: Alexander Taggart
Resolution: Completed Votes: 0
Labels: None


 Description   

The spy macro removes a trailing newline added by pprint, but windows systems have two-character line separators.

Also applies to clojure.tools.logging.



 Comments   
Comment by Alexander Taggart [ 18/May/11 11:42 AM ]

Now uses clojure.string.trim-newline.

https://github.com/clojure/clojure-contrib/commit/c4810ab19657bd82ad94efe5551db1d338aad23c
https://github.com/clojure/tools.logging/commit/623c6df079835f15ae8b1e885eda397c2e32a5e6

Generated at Sun Sep 21 05:04:30 CDT 2014 using JIRA 4.4#649-r158309.