summaryrefslogtreecommitdiff
path: root/test/-ext-/symbol/test_inadvertent_creation.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/-ext-/symbol/test_inadvertent_creation.rb')
-rw-r--r--test/-ext-/symbol/test_inadvertent_creation.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/-ext-/symbol/test_inadvertent_creation.rb b/test/-ext-/symbol/test_inadvertent_creation.rb
index fdd1e25..cd8ad8c 100644
--- a/test/-ext-/symbol/test_inadvertent_creation.rb
+++ b/test/-ext-/symbol/test_inadvertent_creation.rb
@@ -383,7 +383,7 @@ module Test_Symbol
assert_no_immortal_symbol_created("send should not leak - str mm") do |name|
assert_nothing_raised(NoMethodError) {x.send(name)}
end
- end if false
+ end
def test_send_leak_symbol_custom_method_missing
x = Object.new
@@ -391,7 +391,7 @@ module Test_Symbol
assert_no_immortal_symbol_created("send should not leak - sym mm") do |name|
assert_nothing_raised(NoMethodError) {x.send(name.to_sym)}
end
- end if false
+ end
def test_send_leak_string_no_optimization
assert_no_immortal_symbol_created("send should not leak - str slow") do |name|