Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Print linebreaks in failure messages #454

Merged
merged 3 commits into from
Jan 17, 2019
Merged

Print linebreaks in failure messages #454

merged 3 commits into from
Jan 17, 2019

Conversation

philomates
Copy link
Collaborator

resolves #453

When running

(fact "foo
bar"
  (fact "baz"
    1 => 2))

The error message before:

FAIL "foo\nbar - baz" at (t_util.clj:64)
Expected:
2
Actual:
1

and after:

FAIL foo
bar - baz at (t_util.clj:64)
Expected:
2
Actual:
1

@philomates philomates merged commit 928d9e6 into master Jan 17, 2019
@philomates philomates deleted the pm/remove-pr-str branch January 17, 2019 13:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Why pr-str for failure description?
1 participant