[前][次][番号順一覧][スレッド一覧]

ruby-changes:59808

From: aycabta <ko1@a...>
Date: Sun, 26 Jan 2020 13:03:55 +0900 (JST)
Subject: [ruby-changes:59808] 0aa5195262 (master): Use test_mode on Reline::History::Test for encoding

https://git.ruby-lang.org/ruby.git/commit/?id=0aa5195262

From 0aa5195262d4193d3accf3e6b9bad236238b816b Mon Sep 17 00:00:00 2001
From: aycabta <aycabta@g...>
Date: Sun, 26 Jan 2020 12:58:25 +0900
Subject: Use test_mode on Reline::History::Test for encoding


diff --git a/test/reline/test_history.rb b/test/reline/test_history.rb
index 13d3d2f..189f2db 100644
--- a/test/reline/test_history.rb
+++ b/test/reline/test_history.rb
@@ -2,6 +2,10 @@ require_relative 'helper' https://github.com/ruby/ruby/blob/trunk/test/reline/test_history.rb#L2
 require "reline/history"
 
 class Reline::History::Test < Reline::TestCase
+  def setup
+    Reline.send(:test_mode)
+  end
+
   def test_ancestors
     assert_equal(Reline::History.ancestors.include?(Array), true)
   end
-- 
cgit v0.10.2


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]