Created
December 3, 2015 19:01
-
-
Save pketh/fd8a74832d051a86b4bf to your computer and use it in GitHub Desktop.
tests multiple items to see if that item should be excluded
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
dothis = -> | |
console.log 'do this' | |
dothistoo = -> | |
console.log 'do this too' | |
dox = -> | |
console.log 'do x' | |
text = (x) -> | |
unless x is 'hi' | |
dox() | |
unless x is 'bhi' | |
dothis() | |
unless x is 'yup' | |
dothistoo() | |
x = 'hi' | |
text(x) | |
# expect do this, do this too |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment