Created
February 26, 2013 10:25
-
-
Save reebalazs/5037502 to your computer and use it in GitHub Desktop.
buster assert exception
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
buster.assert.exception(block, function (err) { | |
return err.message.slice(0, expected.length) == expected; // startswith | |
}, message); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment