1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

test/io/console/test_io_console.rb: parens needed

This commit is contained in:
Yusuke Endoh 2022-03-08 17:40:02 +09:00
parent 17e09f033c
commit bfc697f1e2

View file

@ -390,7 +390,7 @@ defined?(PTY) and defined?(IO.console) and TestIO_Console.class_eval do
# TestIO_Console#test_intr [/usr/home/chkbuild/chkbuild/tmp/build/20220304T163001Z/ruby/test/io/console/test_io_console.rb:387]:
# <"25"> expected but was
# <"-e:12:in `p': \e[1mexecution expired (\e[1;4mTimeout::Error\e[m\e[1m)\e[m">.
if cc = ctrl["dsusp"] && /freebsd/ !~ RUBY_PLATFORM
if (cc = ctrl["dsusp"]) && /freebsd/ !~ RUBY_PLATFORM
assert_ctrl("#{cc.ord}", cc, r, w)
assert_ctrl("#{cc.ord}", cc, r, w)
assert_ctrl("#{cc.ord}", cc, r, w)