Last active
August 29, 2015 14:04
-
-
Save sizovs/3af0f19a43cf7ec53d48 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
def "returns null if there is nothing to tokenize"() { | |
expect: | |
tokenizer.tokenize(tokenizable) == result | |
where: | |
tokenizable || result | |
null || null | |
"" || null | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment