mirror of
https://github.com/irmen/prog8.git
synced 2025-01-12 04:30:03 +00:00
remove unittest of %target directive, which is removed in 7.1
This commit is contained in:
parent
371d4768e6
commit
dbe98f3fa5
@ -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")
|
||||
|
Loading…
x
Reference in New Issue
Block a user