mirror of
https://github.com/KarolS/millfork.git
synced 2025-04-01 02:31:38 +00:00
Fix tests
This commit is contained in:
parent
0cb91c0f68
commit
2d0f3a5a12
@ -17,7 +17,7 @@ class ZLineSizeSuite extends FunSuite with Matchers {
|
||||
val platform = EmuPlatform.get(Cpu.Z80)
|
||||
val jobContext = JobContext(TestErrorReporting.log, new LabelGenerator)
|
||||
val env = new Environment(None, "", CpuFamily.I80, jobContext)
|
||||
val options = CompilationOptions(platform, Map(), None, 0, jobContext)
|
||||
val options = CompilationOptions(platform, Map(), None, 0, Map(), jobContext)
|
||||
val correctSize = new Z80Assembler(null, env, platform).emitInstruction("default", options, 0x100, line) - 0x100
|
||||
val guessedSize = line.sizeInBytes
|
||||
guessedSize should equal(correctSize)
|
||||
|
Loading…
x
Reference in New Issue
Block a user