From 5acf92d4e81ba8cc379665a89482eb330820d79c Mon Sep 17 00:00:00 2001 From: Karol Stasiak Date: Thu, 19 Mar 2020 21:25:08 +0100 Subject: [PATCH] Fix test --- src/test/scala/millfork/test/ConstantSuite.scala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/test/scala/millfork/test/ConstantSuite.scala b/src/test/scala/millfork/test/ConstantSuite.scala index e0fa9b55..c7a7df71 100644 --- a/src/test/scala/millfork/test/ConstantSuite.scala +++ b/src/test/scala/millfork/test/ConstantSuite.scala @@ -46,10 +46,10 @@ class ConstantSuite extends FunSuite with Matchers { test("Special const functions should work") { EmuUnoptimizedCrossPlatformRun(Cpu.Mos, Cpu.Z80, Cpu.Intel8086, Cpu.Motorola6809)( """ - | const array values = [111, if (0,1,2), if(1,2,3), min(2,3,4), max(2,3,4) + | const array values = [111, if (0,1,2), if(1,2,3), min(2,3,4), max(2,3,4) ] | pointer output @$c000 | void main() { - | + | output = values.addr | } """.stripMargin){m => val arrayStart = m.readWord(0xc000)