mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
tests: make error handling the same as the main function (#15825)
This commit is contained in:
@ -57,7 +57,7 @@ fn test_header() {
|
||||
assert term_width == term.header('1234', '_-/\\/\\').len
|
||||
}
|
||||
|
||||
fn test_get_cursor_position() ? {
|
||||
fn test_get_cursor_position() {
|
||||
original_position := term.get_cursor_position()?
|
||||
cursor_position_1 := term.get_cursor_position()?
|
||||
assert original_position.x == cursor_position_1.x
|
||||
|
Reference in New Issue
Block a user