Skip to content

Instantly share code, notes, and snippets.

@bhb
Last active July 25, 2017 02:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bhb/3a6327773c8e6b490ff249bed5c20b55 to your computer and use it in GitHub Desktop.
Save bhb/3a6327773c8e6b490ff249bed5c20b55 to your computer and use it in GitHub Desktop.
An error with output containing single newlines looks different in different cider buffers
// Cider and Cider nrepl 0.15.0
// In *cider-repl localhost*, the formatted string is correct
// because the ^^^ appears right under the value (to highlight the bad value)
-- Spec failed --------------------
(... 123)
^^^
should satisfy
string?
// But in *cider-error*, the ^^^ appears on the same line
-- Spec failed --------------------
(... 123) ^^^
should satisfy
string?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment