Skip to content

Instantly share code, notes, and snippets.

@ELLIOTTCABLE
Created July 14, 2014 13:39
Show Gist options
  • Save ELLIOTTCABLE/e987ae5a02c2c343327e to your computer and use it in GitHub Desktop.
Save ELLIOTTCABLE/e987ae5a02c2c343327e to your computer and use it in GitHub Desktop.
semicolon-less spec
implementation void[]
[ specification rule[] "compare two matching labels results" { implementation void[]
[ infrastructure label compare[] foo foo ]
[ pass[] ]
} eventually { fail[] } ]
[ specification rule[] "compare two unmatching labels doesn't result" { implementation void[]
[ infrastructure label compare[] foo bar ]
[ fail[] ]
} eventually { pass[] } ]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment