Skip to content

Commit

Permalink
Syntax: add quote_in_identifier test
Browse files Browse the repository at this point in the history
  • Loading branch information
fuzzypixelz committed Jun 20, 2022
1 parent e544ac2 commit 9415987
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/pass.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 changes: 3 additions & 0 deletions tests/pass/quote_in_identifier.ncl
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 9415987

Please sign in to comment.