[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 |