@@ -34,121 +34,124 @@ parserTests =
3434 , shouldParse
3535 " whitespace buffet"
3636 " ./tests/parser/whitespaceBuffet.dhall"
37- , shouldParse
38- " label"
39- " ./tests/parser/label.dhall"
40- , shouldParse
41- " quoted label"
42- " ./tests/parser/quotedLabel.dhall"
43- , shouldParse
44- " double quoted string"
45- " ./tests/parser/doubleQuotedString.dhall"
46- , shouldParse
47- " Unicode double quoted string"
48- " ./tests/parser/unicodeDoubleQuotedString.dhall"
49- , shouldParse
50- " escaped double quoted string"
51- " ./tests/parser/escapedDoubleQuotedString.dhall"
52- , shouldParse
53- " interpolated double quoted string"
54- " ./tests/parser/interpolatedDoubleQuotedString.dhall"
55- , shouldParse
56- " single quoted string"
57- " ./tests/parser/singleQuotedString.dhall"
58- , shouldParse
59- " escaped single quoted string"
60- " ./tests/parser/escapedSingleQuotedString.dhall"
61- , shouldParse
62- " interpolated single quoted string"
63- " ./tests/parser/interpolatedSingleQuotedString.dhall"
64- , shouldParse
65- " double"
66- " ./tests/parser/double.dhall"
67- , shouldParse
68- " natural"
69- " ./tests/parser/natural.dhall"
70- , shouldParse
71- " identifier"
72- " ./tests/parser/identifier.dhall"
73- , shouldParse
74- " paths"
75- " ./tests/parser/paths.dhall"
76- , shouldParse
77- " path termination"
78- " ./tests/parser/pathTermination.dhall"
79- , shouldParse
80- " urls"
81- " ./tests/parser/urls.dhall"
82- , shouldParse
83- " environmentVariables"
84- " ./tests/parser/environmentVariables.dhall"
85- , shouldParse
86- " lambda"
87- " ./tests/parser/lambda.dhall"
88- , shouldParse
89- " if then else"
90- " ./tests/parser/ifThenElse.dhall"
91- , shouldParse
92- " let"
93- " ./tests/parser/let.dhall"
94- , shouldParse
95- " forall"
96- " ./tests/parser/forall.dhall"
97- , shouldParse
98- " function type"
99- " ./tests/parser/functionType.dhall"
100- , shouldParse
101- " operators"
102- " ./tests/parser/operators.dhall"
103- , shouldParse
104- " annotations"
105- " ./tests/parser/annotations.dhall"
106- , shouldParse
107- " merge"
108- " ./tests/parser/merge.dhall"
109- , shouldParse
110- " constructors"
111- " ./tests/parser/constructors.dhall"
112- , shouldParse
113- " fields"
114- " ./tests/parser/fields.dhall"
115- , shouldParse
116- " record"
117- " ./tests/parser/record.dhall"
118- , shouldParse
119- " union"
120- " ./tests/parser/union.dhall"
121- , shouldParse
122- " list"
123- " ./tests/parser/list.dhall"
124- , shouldParse
125- " builtins"
126- " ./tests/parser/builtins.dhall"
127- , shouldParse
128- " import alternatives"
129- " ./tests/parser/importAlt.dhall"
130- , shouldParse
131- " large expression"
132- " ./tests/parser/largeExpression.dhall"
133- , shouldParse
134- " names that begin with reserved identifiers"
135- " ./tests/parser/reservedPrefix.dhall"
136- , shouldParse
137- " interpolated expressions with leading whitespace"
138- " ./tests/parser/template.dhall"
139- , shouldNotParse
140- " records with duplicate fields"
141- " ./tests/parser/failure/duplicateFields.dhall"
142- , shouldParse
143- " collections with type annotations containing imports"
144- " ./tests/parser/collectionImportType.dhall"
145- , shouldParse
146- " a parenthesized custom header import"
147- " ./tests/parser/parenthesizeUsing.dhall"
148- , shouldNotParse
149- " accessing a field of an import without parentheses"
150- " ./tests/parser/failure/importAccess.dhall"
15137 ]
38+ , shouldParse
39+ " label"
40+ " ./tests/parser/label.dhall"
41+ , shouldParse
42+ " quoted label"
43+ " ./tests/parser/quotedLabel.dhall"
44+ , shouldParse
45+ " double quoted string"
46+ " ./tests/parser/doubleQuotedString.dhall"
47+ , shouldParse
48+ " Unicode double quoted string"
49+ " ./tests/parser/unicodeDoubleQuotedString.dhall"
50+ , shouldParse
51+ " escaped double quoted string"
52+ " ./tests/parser/escapedDoubleQuotedString.dhall"
53+ , shouldParse
54+ " interpolated double quoted string"
55+ " ./tests/parser/interpolatedDoubleQuotedString.dhall"
56+ , shouldParse
57+ " single quoted string"
58+ " ./tests/parser/singleQuotedString.dhall"
59+ , shouldParse
60+ " escaped single quoted string"
61+ " ./tests/parser/escapedSingleQuotedString.dhall"
62+ , shouldParse
63+ " interpolated single quoted string"
64+ " ./tests/parser/interpolatedSingleQuotedString.dhall"
65+ , shouldParse
66+ " double"
67+ " ./tests/parser/double.dhall"
68+ , shouldParse
69+ " natural"
70+ " ./tests/parser/natural.dhall"
71+ , shouldParse
72+ " identifier"
73+ " ./tests/parser/identifier.dhall"
74+ , shouldParse
75+ " paths"
76+ " ./tests/parser/paths.dhall"
77+ , shouldParse
78+ " path termination"
79+ " ./tests/parser/pathTermination.dhall"
80+ , shouldParse
81+ " urls"
82+ " ./tests/parser/urls.dhall"
83+ , shouldParse
84+ " environmentVariables"
85+ " ./tests/parser/environmentVariables.dhall"
86+ , shouldParse
87+ " lambda"
88+ " ./tests/parser/lambda.dhall"
89+ , shouldParse
90+ " if then else"
91+ " ./tests/parser/ifThenElse.dhall"
92+ , shouldParse
93+ " let"
94+ " ./tests/parser/let.dhall"
95+ , shouldParse
96+ " forall"
97+ " ./tests/parser/forall.dhall"
98+ , shouldParse
99+ " function type"
100+ " ./tests/parser/functionType.dhall"
101+ , shouldParse
102+ " operators"
103+ " ./tests/parser/operators.dhall"
104+ , shouldParse
105+ " annotations"
106+ " ./tests/parser/annotations.dhall"
107+ , shouldParse
108+ " merge"
109+ " ./tests/parser/merge.dhall"
110+ , shouldParse
111+ " constructors"
112+ " ./tests/parser/constructors.dhall"
113+ , shouldParse
114+ " fields"
115+ " ./tests/parser/fields.dhall"
116+ , shouldParse
117+ " record"
118+ " ./tests/parser/record.dhall"
119+ , shouldParse
120+ " union"
121+ " ./tests/parser/union.dhall"
122+ , shouldParse
123+ " list"
124+ " ./tests/parser/list.dhall"
125+ , shouldParse
126+ " builtins"
127+ " ./tests/parser/builtins.dhall"
128+ , shouldParse
129+ " import alternatives"
130+ " ./tests/parser/importAlt.dhall"
131+ , shouldParse
132+ " large expression"
133+ " ./tests/parser/largeExpression.dhall"
134+ , shouldParse
135+ " names that begin with reserved identifiers"
136+ " ./tests/parser/reservedPrefix.dhall"
137+ , shouldParse
138+ " interpolated expressions with leading whitespace"
139+ " ./tests/parser/template.dhall"
140+ , shouldNotParse
141+ " records with duplicate fields"
142+ " ./tests/parser/failure/duplicateFields.dhall"
143+ , shouldParse
144+ " collections with type annotations containing imports"
145+ " ./tests/parser/collectionImportType.dhall"
146+ , shouldParse
147+ " a parenthesized custom header import"
148+ " ./tests/parser/parenthesizeUsing.dhall"
149+ , shouldNotParse
150+ " accessing a field of an import without parentheses"
151+ " ./tests/parser/failure/importAccess.dhall"
152+ , shouldParse
153+ " Sort"
154+ " ./tests/parser/sort.dhall"
152155 ]
153156
154157shouldParse :: Text -> FilePath -> TestTree
0 commit comments