diff options
| author | _ov4 <ov4@ov4.org> | 2026-10-23 00:41:11 +0000 |
|---|---|---|
| committer | _ov4 <ov4@ov4.org> | 2026-10-23 00:41:11 +0000 |
| commit | 7c681c33e17550bfc8a0dc969129a2ea855a39fe (patch) | |
| tree | d835709c64015de4308d1cdb468ed9ce0e55e3e6 /bundle/src-tauri/src/runner.rs | |
| parent | cf2a020fc3bd7c3cb9aa60b3ce597b3ef66b45c4 (diff) | |
test(bundle): expect STRING INPUT at end of input to stop the program
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'bundle/src-tauri/src/runner.rs')
| -rw-r--r-- | bundle/src-tauri/src/runner.rs | 6 |
1 files changed, 6 insertions, 0 deletions
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, ), |
