diff options
author | Hiroshi SHIBATA <[email protected]> | 2022-07-28 19:25:52 +0900 |
---|---|---|
committer | Hiroshi SHIBATA <[email protected]> | 2022-07-28 19:25:52 +0900 |
commit | d448ecc7b11274e2e5d924a42693788141fad753 (patch) | |
tree | 4a5c12058a44a26d2740f83d1937e061c7c9d44a /test | |
parent | 202ce7de01e051fca01c683833e4294d79ef87bb (diff) |
Fix the missing brackets
Diffstat (limited to 'test')
-rw-r--r-- | test/io/console/test_io_console.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/io/console/test_io_console.rb b/test/io/console/test_io_console.rb index 342f979ec3..b5382555f5 100644 --- a/test/io/console/test_io_console.rb +++ b/test/io/console/test_io_console.rb @@ -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) |