diff options
author | Yusuke Endoh <mame@ruby-lang.org> | 2021-10-25 20:43:42 +0900 |
---|---|---|
committer | Yusuke Endoh <mame@ruby-lang.org> | 2021-10-25 20:43:42 +0900 |
commit | 00c7b91f9103fa8bc38ef294f097160c2ce92c56 (patch) | |
tree | 64a8840f7922c01f7295b1a7e8da426c4d96642f /test/ruby/test_marshal.rb | |
parent | 5af3f7f3574c16ec76fb44b21beec17a74f4417a (diff) |
test/ruby/test_marshal.rb: Prevent "assigned but unused variable" warning
http://rubyci.s3.amazonaws.com/centos7/ruby-master/log/20211025T093004Z.log.html.gz
```
/home/chkbuild/chkbuild/tmp/build/20211025T093004Z/ruby/test/ruby/test_marshal.rb:925: warning: assigned but unused variable - objects
```
Diffstat (limited to 'test/ruby/test_marshal.rb')
-rw-r--r-- | test/ruby/test_marshal.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_marshal.rb b/test/ruby/test_marshal.rb index 19f41de27e..361d18dd4b 100644 --- a/test/ruby/test_marshal.rb +++ b/test/ruby/test_marshal.rb @@ -922,7 +922,7 @@ class TestMarshal < Test::Unit::TestCase end def test_modules_and_classes_are_not_frozen - objects = Marshal.load(encode([Object, Kernel]), freeze: true) + _objects = Marshal.load(encode([Object, Kernel]), freeze: true) refute_predicate Object, :frozen? refute_predicate Kernel, :frozen? end |