Skip to content

Commit

Permalink
Update examples/readline/readline_test.v
Browse files Browse the repository at this point in the history
Co-authored-by: Delyan Angelov <delian66@gmail.com>
  • Loading branch information
ttytm and spytheman authored Oct 9, 2023
1 parent 70a4b53 commit 442079e
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions examples/readline/readline_test.v
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,7 @@ const (

fn test_password_input() {
correct := os.execute(os.join_path(expect_tests_path, 'readline.expect'))
if correct.exit_code != 0 {
assert false, correct.output
}
assert correct.exit_code == 0, correct.output

send_a := 'a'
expect_a := 'got 97' // readline output for `a`
Expand Down

0 comments on commit 442079e

Please sign in to comment.