Skip to content

Instantly share code, notes, and snippets.

@jaycfields
Created October 31, 2012 13:23
Show Gist options
  • Save jaycfields/3987018 to your computer and use it in GitHub Desktop.
Save jaycfields/3987018 to your computer and use it in GitHub Desktop.
error
(expect (interaction (one "hello" {:a :b :c {:dd :ee :ff :gg}}))
(do
(one "hello")
(one "hello" "world" "here")
(one "hello" {:a 1 2 3})))
failure in (failure_examples.clj:154) : failure.failure-examples
expected: (one "hello" {:a :b, :c {:ff :gg, :dd :ee}}) once
got: (one "hello")
{:a :b, :c {:ff :gg, :dd :ee}} are in expected, but not in actual
expected is larger than actual
got: (one "hello" "world" "here")
"here", "world" are in actual, but not in expected
{:a :b, :c {:ff :gg, :dd :ee}} are in expected, but not in actual
actual is larger than expected
got: (one "hello" {2 3, :a 1})
arg1: matches
expected arg2: {:a :b, :c {:ff :gg, :dd :ee}}
actual arg2: {2 3, :a 1}
2 with val 3 is in actual, but not in expected
:c {:dd with val :ee is in expected, but not in actual
:c {:ff with val :gg is in expected, but not in actual
:a expected: :b
was: 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment