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