1
0
mirror of https://github.com/KarolS/millfork.git synced 2024-07-05 09:28:54 +00:00

Fix tests

This commit is contained in:
Karol Stasiak 2018-08-08 18:48:11 +02:00
parent 0cb91c0f68
commit 2d0f3a5a12

View File

@ -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)