From 73c6d41c57c24d3e95968d1c3801f513b056330c Mon Sep 17 00:00:00 2001 From: Nat Quayle Nelson Date: Thu, 19 Jan 2023 11:48:44 -0700 Subject: [PATCH] Fix DummyUI enterNumber() --- projects/nat-archive-tool/src/test/DummyUI.hx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/nat-archive-tool/src/test/DummyUI.hx b/projects/nat-archive-tool/src/test/DummyUI.hx index 3f04cf0c..1a19ff42 100644 --- a/projects/nat-archive-tool/src/test/DummyUI.hx +++ b/projects/nat-archive-tool/src/test/DummyUI.hx @@ -17,7 +17,7 @@ class DummyUI implements ArchiveUI { resolve(""); } - public function enterNumber(prompt:String, resolve:(Float) -> Void, min:Float, max:Float, ?inStepsOf:Float) { + public function enterNumber(prompt:String, resolve:(Float) -> Void, min:Float, max:Float, ?inStepsOf:Float, ?allowNaN:Bool) { // TODO for proper testing, this will need to resolve with specific pre-coded numbers resolve(min); }