mirror of
https://github.com/irmen/prog8.git
synced 2024-09-07 19:54:26 +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…
Reference in New Issue
Block a user