From d448ecc7b11274e2e5d924a42693788141fad753 Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Thu, 28 Jul 2022 19:25:52 +0900 Subject: Fix the missing brackets --- test/io/console/test_io_console.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/io/console') 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) -- cgit v1.2.3