summaryrefslogtreecommitdiff
path: root/test/ruby/test_shapes.rb
diff options
context:
space:
mode:
authorYusuke Endoh <[email protected]>2022-12-17 08:40:36 +0900
committerYusuke Endoh <[email protected]>2022-12-17 08:40:36 +0900
commit2013dd465811b6d01129f25af4fbe84002a2273f (patch)
tree00f722aeee1a24a2935e9ea4e465392012205938 /test/ruby/test_shapes.rb
parent8f081d4d0ffb7edd33f0e0833e9e4d73601740bb (diff)
Prevent warning "assigned but unused variable - initial_shape"
Diffstat (limited to 'test/ruby/test_shapes.rb')
-rw-r--r--test/ruby/test_shapes.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_shapes.rb b/test/ruby/test_shapes.rb
index 40a43b9702..b2cd79ab12 100644
--- a/test/ruby/test_shapes.rb
+++ b/test/ruby/test_shapes.rb
@@ -266,7 +266,7 @@ class TestShapes < Test::Unit::TestCase
def test_remove_then_add_again
example = RemoveAndAdd.new
- initial_shape = RubyVM::Shape.of(example)
+ _initial_shape = RubyVM::Shape.of(example)
example.add_foo # makes a transition
add_foo_shape = RubyVM::Shape.of(example)