Add an evaluation test concerning the strictness of with lookups

This commit is contained in:
John Wiegley 2018-09-07 13:14:50 -07:00
parent 99626e9ab9
commit ee8b79c176
No known key found for this signature in database
GPG key ID: C144D8F4F19FE630

View file

@ -100,6 +100,9 @@ case_function_recursive_sets =
case_nested_with =
constantEqualText "2" "with { x = 1; }; with { x = 2; }; x"
case_with_strictness =
constantEqualText "5" "let x = with x; with { a = 5; }; a; in x"
case_match_failure_null =
constantEqualText "null" "builtins.match \"ab\" \"abc\""