File tree Expand file tree Collapse file tree 1 file changed +0
-12
lines changed
Expand file tree Collapse file tree 1 file changed +0
-12
lines changed Original file line number Diff line number Diff line change @@ -211,18 +211,6 @@ class ParserSpec extends AnyFlatSpec {
211211 val instantiatedModules = UclidMain .instantiateModules(UclidMain .Config (), fileModules, lang.Identifier (" main" ))
212212 assert (instantiatedModules.size == 1 )
213213 }
214- " test-type1.ucl" should " not parse successfully." in {
215- try {
216- val filename = " test/test-type1.ucl"
217- val fileModules = UclidMain .compile(ConfigCons .createConfig(filename), lang.Identifier (" main" ))
218- assert (fileModules.size == 1 )
219- }
220- catch {
221- case p : Utils .ParserErrorList =>
222- assert (p.errors.size == 1 )
223- assert (p.errors(0 )._1.contains(" Redeclaration of identifier 'test'." ))
224- }
225- }
226214 " test-typechecker-0.ucl" should " not parse successfully." in {
227215 try {
228216 val fileModules = UclidMain .compile(ConfigCons .createConfig(" test/test-typechecker-0.ucl" ), lang.Identifier (" main" ))
You can’t perform that action at this time.
0 commit comments