Skip to content

Commit

Permalink
added tests for invalid/missing recordAndTuple syntaxType parser option
Browse files Browse the repository at this point in the history
  • Loading branch information
rickbutton committed Dec 18, 2019
1 parent 4002948 commit d731556
Show file tree
Hide file tree
Showing 8 changed files with 20 additions and 0 deletions.
@@ -0,0 +1 @@
{||}
@@ -0,0 +1,4 @@
{
"plugins": [["recordAndTuple", { "syntaxType": "invalid" }]],
"throws": "Unexpected token (1:1)"
}
@@ -0,0 +1 @@
[||]
@@ -0,0 +1,4 @@
{
"plugins": [["recordAndTuple", { "syntaxType": "invalid" }]],
"throws": "Unexpected token (1:1)"
}
@@ -0,0 +1 @@
#{}
@@ -0,0 +1,4 @@
{
"plugins": [["recordAndTuple", { "syntaxType": "invalid" }]],
"throws": "Unexpected character '#' (1:0)"
}
@@ -0,0 +1 @@
#[]
@@ -0,0 +1,4 @@
{
"plugins": [["recordAndTuple", { "syntaxType": "invalid" }]],
"throws": "Unexpected character '#' (1:0)"
}

0 comments on commit d731556

Please sign in to comment.