remove unittest of %target directive, which is removed in 7.1

This commit is contained in:
Irmen de Jong 2021-10-09 18:43:18 +02:00
parent 371d4768e6
commit dbe98f3fa5

View File

@ -47,14 +47,6 @@ class TestAstToSourceCode {
assertContains(txt, Regex(";.*$internedStringsModuleName")) 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 @Test
fun testImportDirectiveWithLib() { fun testImportDirectiveWithLib() {
val orig = SourceCode.of("%import textio\n") val orig = SourceCode.of("%import textio\n")