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:
parent
e544ac2457
commit
941598795d
@ -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")
|
||||
}
|
||||
|
3
tests/pass/quote_in_identifier.ncl
Normal file
3
tests/pass/quote_in_identifier.ncl
Normal 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
|
Loading…
Reference in New Issue
Block a user