1
1
mirror of https://github.com/tweag/nickel.git synced 2024-10-04 23:27:15 +03:00

Syntax: add quote_in_identifier test

This commit is contained in:
Mahmoud Mazouz 2022-06-17 11:38:50 +02:00
parent e544ac2457
commit 941598795d
No known key found for this signature in database
GPG Key ID: 67ECE70BC8FF7F2F
2 changed files with 8 additions and 0 deletions

View File

@ -122,3 +122,8 @@ fn overriding() {
fn recursive_let() {
check_file("recursive_let.ncl");
}
#[test]
fn quote_in_indentifier() {
check_file("quote_in_identifier.ncl")
}

View File

@ -0,0 +1,3 @@
let Assert = fun l x => x || %blame% l in
let this-isn't-invalid = true in this-isn't-invalid | Assert