1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Remove assert_equal that will never be run

`@s1.set_len(3)` will raise so the `assert_equal` will never be ran.
This commit is contained in:
Peter Zhu 2022-01-28 13:32:11 -05:00
parent c26e41c9a3
commit 018036c282

View file

@ -20,7 +20,7 @@ class Test_StrSetLen < Test::Unit::TestCase
def test_shared
assert_raise(RuntimeError) {
assert_equal("abc", @s1.set_len(3))
@s1.set_len(3)
}
end