From 4bdd8f2ddfce293136fb69257a25e29677612819 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ot=C3=A1vio=20Schwanck=20dos=20Santos?= Date: Wed, 21 Sep 2022 15:39:21 +0100 Subject: [PATCH] [ruby/reline] use assert_nothing_raised https://github.com/ruby/reline/commit/f08be5da09 --- test/reline/test_key_actor_vi.rb | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/test/reline/test_key_actor_vi.rb b/test/reline/test_key_actor_vi.rb index 5a8c4ac64d..6e1d9dbbda 100644 --- a/test/reline/test_key_actor_vi.rb +++ b/test/reline/test_key_actor_vi.rb @@ -1458,12 +1458,8 @@ class Reline::KeyActor::ViInsert::Test < Reline::TestCase def test_vi_motion_operators assert_instance_of(Reline::KeyActor::ViInsert, @config.editing_mode) - begin + assert_nothing_raised do input_keys("test = { foo: bar }\C-[BBBldt}b") - - assert true - rescue NoMethodError - assert false end end end