From 7c681c33e17550bfc8a0dc969129a2ea855a39fe Mon Sep 17 00:00:00 2001 From: _ov4 Date: Fri, 23 Oct 2026 00:41:11 +0000 Subject: test(bundle): expect STRING INPUT at end of input to stop the program Co-Authored-By: Claude Opus 5.5 --- bundle/src-tauri/src/runner.rs | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'bundle/src-tauri/src/runner.rs') diff --git a/bundle/src-tauri/src/runner.rs b/bundle/src-tauri/src/runner.rs index eef35d2..f8fa353 100644 --- a/bundle/src-tauri/src/runner.rs +++ b/bundle/src-tauri/src/runner.rs @@ -192,6 +192,12 @@ mod tests { ( "DECLARE S : STRING\nINPUT S\nOUTPUT \"done\"\n", "", + "INPUT reached the end of input", + 1, + ), + ( + "DECLARE S : STRING\nINPUT S\nOUTPUT \"done\"\n", + "\n", "done\n", 0, ), -- cgit v1.3.1-4-g156e