summaryrefslogtreecommitdiff
path: root/test/ruby
diff options
context:
space:
mode:
authorYusuke Endoh <mame@ruby-lang.org>2025-12-24 17:43:22 +0900
committerYusuke Endoh <mame@ruby-lang.org>2025-12-24 21:29:00 +0900
commit17e4f28c2725495a2ff14e1899d791868d9ba42f (patch)
treeadc2f0351c8b318168a0ee5d110d7579e7f49981 /test/ruby
parent2d0d95305c0973c0a8966a07fa029c55e27f94cd (diff)
Remove unintentional return
Diffstat (limited to 'test/ruby')
-rw-r--r--test/ruby/test_box.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_box.rb b/test/ruby/test_box.rb
index f35d07c086..a531afa679 100644
--- a/test/ruby/test_box.rb
+++ b/test/ruby/test_box.rb
@@ -426,7 +426,7 @@ class TestBox < Test::Unit::TestCase
EnvUtil.verbose_warning do
@box.require_relative('box/consts')
end
- return
+
assert_equal 999, String::STR_CONST0
assert_raise(NameError) { String::STR_CONST1 }
assert_raise(NameError) { String::STR_CONST2 }