mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
[ruby/reline] use assert_nothing_raised
https://github.com/ruby/reline/commit/f08be5da09
This commit is contained in:
parent
696e8914b7
commit
4bdd8f2ddf
1 changed files with 1 additions and 5 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue