From dbe98f3fa57e5321a1cac70ff66233e9d811040f Mon Sep 17 00:00:00 2001 From: Irmen de Jong Date: Sat, 9 Oct 2021 18:43:18 +0200 Subject: [PATCH] remove unittest of %target directive, which is removed in 7.1 --- compilerAst/test/TestAstToSourceCode.kt | 8 -------- 1 file changed, 8 deletions(-) diff --git a/compilerAst/test/TestAstToSourceCode.kt b/compilerAst/test/TestAstToSourceCode.kt index 4a27c7463..b179b48b9 100644 --- a/compilerAst/test/TestAstToSourceCode.kt +++ b/compilerAst/test/TestAstToSourceCode.kt @@ -47,14 +47,6 @@ class TestAstToSourceCode { assertContains(txt, Regex(";.*$internedStringsModuleName")) } - @Test - fun testTargetDirectiveAndComment() { - val orig = SourceCode.of("%target 42 ; invalid arg - shouldn't matter\n") - val (txt, _) = roundTrip(parseModule(orig)) - // assertContains has *actual* first! - assertContains(txt, Regex("%target +42")) - } - @Test fun testImportDirectiveWithLib() { val orig = SourceCode.of("%import textio\n")