ruby-changes:59779
From: aycabta <ko1@a...>
Date: Thu, 23 Jan 2020 13:37:48 +0900 (JST)
Subject: [ruby-changes:59779] f09c1cf0e9 (master): Skip a test that uses assert_ruby_status if it doesn't exist
https://git.ruby-lang.org/ruby.git/commit/?id=f09c1cf0e9 From f09c1cf0e932095cd507e68126427a773713a92f Mon Sep 17 00:00:00 2001 From: aycabta <aycabta@g...> Date: Tue, 3 Dec 2019 12:46:14 +0900 Subject: Skip a test that uses assert_ruby_status if it doesn't exist diff --git a/test/readline/test_readline.rb b/test/readline/test_readline.rb index debac82..0d807b2 100644 --- a/test/readline/test_readline.rb +++ b/test/readline/test_readline.rb @@ -483,6 +483,7 @@ module BasetestReadline https://github.com/ruby/ruby/blob/trunk/test/readline/test_readline.rb#L483 def test_refresh_line skip "Only when refresh_line exists" unless Readline.respond_to?(:refresh_line) + skip unless respond_to?(:assert_ruby_status) bug6232 = '[ruby-core:43957] [Bug #6232] refresh_line after set_screen_size' with_temp_stdio do |stdin, stdout| replace_stdio(stdin.path, stdout.path) do -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/