diff options
| author | dam <dam@gudinoff> | 2024-12-22 01:59:58 +0000 |
|---|---|---|
| committer | dam <dam@gudinoff> | 2024-12-22 02:10:26 +0000 |
| commit | 863bfec23df598b476e26559c117791d1083611a (patch) | |
| tree | 32953b5134864cabba618859cc324f8bc2e2c463 /TUI/tests.jai | |
| parent | c57f2b97285c44241c6e73fad8705f17fc32a320 (diff) | |
| download | jai-modules-863bfec23df598b476e26559c117791d1083611a.tar.zst jai-modules-863bfec23df598b476e26559c117791d1083611a.zip | |
Update code to comply with compiler beta 0.1.094.
Diffstat (limited to 'TUI/tests.jai')
| -rw-r--r-- | TUI/tests.jai | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/TUI/tests.jai b/TUI/tests.jai index a740e6b..7e591b8 100644 --- a/TUI/tests.jai +++ b/TUI/tests.jai @@ -10,7 +10,7 @@ main :: () { } else { assert(TUI.reset_terminal(), "Failed to reset TUI."); - print("- ERROR: %", error_message, to_standard_error = true); + print("- ERROR: %\n", error_message, to_standard_error = true); exit(1); } } @@ -19,7 +19,7 @@ main :: () { x, y := TUI.get_cursor_position(); TUI.set_cursor_position(1, y+1); } - + if 1 { print("TEST : set and get cursor position\n", to_standard_error = true); assert(TUI.setup_terminal(), "Failed to setup TUI."); @@ -157,12 +157,9 @@ main :: () { TUI.set_cursor_position(x, y); print("size = %x%\n", width, height); key = TUI.get_key(1000); - - // __mark := get_temporary_storage_mark(); - // set_temporary_storage_mark(__mark); } - print("- success"); assert(TUI.reset_terminal(), "Failed to reset TUI."); + assert_result(true, ""); } if 1 { |
