Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing feature close_input #15

Open
tompng opened this issue Sep 16, 2024 · 0 comments
Open

Missing feature close_input #15

tompng opened this issue Sep 16, 2024 · 0 comments

Comments

@tompng
Copy link
Member

tompng commented Sep 16, 2024

Currently, it is impossible to perform this test in yamatanooroti.

start_terminal(10, 10, command)
write("1+2.ab")
assert_screen("> 1+2.ab\n     .abs\n     .abs2")
close_input # Close input stream. This API does not exist. There are no alternatives.
assert_screen("> 1+2.ab\n=> undefined method `ab' for an instance of Integer (NoMethodError)")
close # Terminates process. Always call this after assert_screen.

API to close STDIN of the test target process is missing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant