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

ruby-changes:59084

From: aycabta <ko1@a...>
Date: Thu, 5 Dec 2019 16:55:40 +0900 (JST)
Subject: [ruby-changes:59084] 264d5aff5a (master): Change encoding of completion list...for more tests

https://git.ruby-lang.org/ruby.git/commit/?id=264d5aff5a

From 264d5aff5afecb08b0a2ccafedc0a43de4f8d16a Mon Sep 17 00:00:00 2001
From: aycabta <aycabta@g...>
Date: Thu, 5 Dec 2019 16:28:54 +0900
Subject: Change encoding of completion list...for more tests


diff --git a/test/reline/test_key_actor_vi.rb b/test/reline/test_key_actor_vi.rb
index 8516619..dc5030c 100644
--- a/test/reline/test_key_actor_vi.rb
+++ b/test/reline/test_key_actor_vi.rb
@@ -942,6 +942,8 @@ class Reline::KeyActor::ViInsert::Test < Reline::TestCase https://github.com/ruby/ruby/blob/trunk/test/reline/test_key_actor_vi.rb#L942
       %w{
         foo_bar
         foo_bar_baz
+      }.map { |i|
+        i.encode(@encoding)
       }
     }
     input_keys('abcde fo ABCDE')
@@ -998,6 +1000,8 @@ class Reline::KeyActor::ViInsert::Test < Reline::TestCase https://github.com/ruby/ruby/blob/trunk/test/reline/test_key_actor_vi.rb#L1000
       %w{
         foo_bar
         foo_bar_baz
+      }.map { |i|
+        i.encode(@encoding)
       }
     }
     input_keys('foo')
@@ -1018,6 +1022,8 @@ class Reline::KeyActor::ViInsert::Test < Reline::TestCase https://github.com/ruby/ruby/blob/trunk/test/reline/test_key_actor_vi.rb#L1022
       %w{
         foo_bar
         foo_bar_baz
+      }.map { |i|
+        i.encode(@encoding)
       }
     }
     input_keys('foo')
-- 
cgit v0.10.2


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

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