From fcf7f9c7e735c2c64359f9185a065fe7ef87b8ef Mon Sep 17 00:00:00 2001 From: paulklint Date: Thu, 17 Oct 2024 15:39:01 +0200 Subject: [PATCH] Cleanup --- .../lang/rascalcore/check/tests/StatementTCTests.rsc | 1 - .../lang/rascalcore/check/tests/StaticTestingUtils.rsc | 8 -------- 2 files changed, 9 deletions(-) diff --git a/src/org/rascalmpl/core/library/lang/rascalcore/check/tests/StatementTCTests.rsc b/src/org/rascalmpl/core/library/lang/rascalcore/check/tests/StatementTCTests.rsc index e0691e5c..47293452 100644 --- a/src/org/rascalmpl/core/library/lang/rascalcore/check/tests/StatementTCTests.rsc +++ b/src/org/rascalmpl/core/library/lang/rascalcore/check/tests/StatementTCTests.rsc @@ -71,7 +71,6 @@ test bool VisitError5() = unexpectedType("insert 2;"); test bool WrongInsert() = unexpectedType("String vs = visit ([1,2,3]) {case 1: insert \"abc\";} == [\"abc\", 2, 3];;"); - // https://github.com/cwi-swat/rascal/issues/416 test bool Issue416() = checkModuleOK(" diff --git a/src/org/rascalmpl/core/library/lang/rascalcore/check/tests/StaticTestingUtils.rsc b/src/org/rascalmpl/core/library/lang/rascalcore/check/tests/StaticTestingUtils.rsc index 4d116363..533b1fe0 100644 --- a/src/org/rascalmpl/core/library/lang/rascalcore/check/tests/StaticTestingUtils.rsc +++ b/src/org/rascalmpl/core/library/lang/rascalcore/check/tests/StaticTestingUtils.rsc @@ -53,14 +53,6 @@ void clearMemory() { str cleanName(str name) = name[0] == "\\" ? name[1..] : name; -// loc writeModule(str name, str body){ -// mloc = |memory:///test-modules/.rsc|; -// writeFile(mloc, "@bootstrapParser -// 'module -// '"); -// return mloc; -// } - loc writeModule(str moduleText){ = extractModuleNameAndBody(moduleText); mloc = |memory:///test-modules/.rsc|;