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:
parent
c26e41c9a3
commit
018036c282
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@ class Test_StrSetLen < Test::Unit::TestCase
|
||||||
|
|
||||||
def test_shared
|
def test_shared
|
||||||
assert_raise(RuntimeError) {
|
assert_raise(RuntimeError) {
|
||||||
assert_equal("abc", @s1.set_len(3))
|
@s1.set_len(3)
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue