ruby-changes:71345
From: Yusuke <ko1@a...>
Date: Tue, 8 Mar 2022 17:40:59 +0900 (JST)
Subject: [ruby-changes:71345] bfc697f1e2 (master): test/io/console/test_io_console.rb: parens needed
https://git.ruby-lang.org/ruby.git/commit/?id=bfc697f1e2 From bfc697f1e26f1406c45ec7309ca0d4c0b5ecedd6 Mon Sep 17 00:00:00 2001 From: Yusuke Endoh <mame@r...> Date: Tue, 8 Mar 2022 17:40:02 +0900 Subject: test/io/console/test_io_console.rb: parens needed --- test/io/console/test_io_console.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/io/console/test_io_console.rb b/test/io/console/test_io_console.rb index 67959f9eca..f6e46fe112 100644 --- a/test/io/console/test_io_console.rb +++ b/test/io/console/test_io_console.rb @@ -390,7 +390,7 @@ defined?(PTY) and defined?(IO.console) and TestIO_Console.class_eval do https://github.com/ruby/ruby/blob/trunk/test/io/console/test_io_console.rb#L390 # 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) -- cgit v1.2.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/