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

Fix the missing brackets

This commit is contained in:
Hiroshi SHIBATA 2022-07-28 19:25:52 +09:00
parent 202ce7de01
commit d448ecc7b1
No known key found for this signature in database
GPG key ID: F9CF13417264FAC2

View file

@ -395,7 +395,7 @@ defined?(PTY) and defined?(IO.console) and TestIO_Console.class_eval do
assert_ctrl("#{cc.ord}", cc, r, w)
assert_ctrl("#{cc.ord}", cc, r, w)
end
if cc = ctrl["lnext"] && /freebsd/ !~ RUBY_PLATFORM
if (cc = ctrl["lnext"]) && /freebsd/ !~ RUBY_PLATFORM
assert_ctrl("#{cc.ord}", cc, r, w)
assert_ctrl("#{cc.ord}", cc, r, w)
assert_ctrl("#{cc.ord}", cc, r, w)