Created
August 25, 2020 22:40
-
-
Save javierfernandes/da3f90057383c75f8c205a4fce64819c 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
describe('x / y with x a nil value and y a number', function() | |
test({ | |
rule = _.div_op(_.var_ref('x'), _.var_ref('y')), | |
having = { x = nil, y = 12 }, | |
gives = __.unbound_error(nil, 'x'), | |
at = _.var_ref('x') | |
}) | |
end) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment