diff options
| author | dam <dam@gudinoff> | 2024-12-21 23:21:46 +0000 |
|---|---|---|
| committer | dam <dam@gudinoff> | 2024-12-22 02:11:27 +0000 |
| commit | ec98642dfdf9e113702becebd8cac122ba1cc14d (patch) | |
| tree | dc10b33d92b0ad557931fa9f0b37f99b0414ad25 /modules/TUI/tests.jai | |
| parent | 2ec6ef66d9fdc4f225c5f0e6317bb7ecba040533 (diff) | |
| download | task-time-tracker-ec98642dfdf9e113702becebd8cac122ba1cc14d.tar.zst task-time-tracker-ec98642dfdf9e113702becebd8cac122ba1cc14d.zip | |
Update code to comply with compiler beta 0.1.094.
Diffstat (limited to 'modules/TUI/tests.jai')
| -rw-r--r-- | modules/TUI/tests.jai | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/modules/TUI/tests.jai b/modules/TUI/tests.jai index a740e6b..7e591b8 100644 --- a/modules/TUI/tests.jai +++ b/modules/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 { |
