Skip to content

Instantly share code, notes, and snippets.

@jaycfields
Created October 31, 2012 18:52
Show Gist options
  • Save jaycfields/3989075 to your computer and use it in GitHub Desktop.
Save jaycfields/3989075 to your computer and use it in GitHub Desktop.
failing test with anything
(expect (interaction (one "hello" :anything))
(one "help" {:a 1 2 3}))
; expected: (one "hello" :anything) once
;
; got: (one "help" {2 3, :a 1})
; expected arg1: hello
; actual arg1: help
; matches: "hel"
; diverges: "lo"
; &: "p"
; arg2: matches
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment