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

Expected and actual swapped? #1

Closed
wiseman opened this issue Jul 11, 2014 · 2 comments
Closed

Expected and actual swapped? #1

wiseman opened this issue Jul 11, 2014 · 2 comments

Comments

@wiseman
Copy link

wiseman commented Jul 11, 2014

I have the following test:

(is (= (count (:results r)) 4))

Without humane-test-output it fails with

expected: (= (count (:results r)) 4)
  actual: (not (= 3 4))

With humane-test-output it fails with

expected: 3
  actual: 4
    diff: - 3
          + 4

I am using version 0.6.0 of humane-test-output, version 1.5.1 of clojure.

@jakemcc
Copy link

jakemcc commented Jul 11, 2014

Documentation for clojure.test is has the expected value coming first.

(is (= expected actual))

@pjstadig
Copy link
Owner

pjstadig commented Feb 4, 2015

Yeah, I patterned the output after what clojure.test has documented.

@pjstadig pjstadig closed this as completed Feb 4, 2015
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

No branches or pull requests

3 participants