Created
September 24, 2012 13:47
-
-
Save petercamfield/3776038 to your computer and use it in GitHub Desktop.
CoffeeScript test runner in 1 line
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
test= (e)-> throw e unless e() | |
square = (x) -> x * x | |
test -> square(5)==25 | |
test -> square(5)==24 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment