1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/test/psych/visitors
Nobuyoshi Nakada 698dde525a [ruby/psych] Suppress uninitialized instance variable warnings
In verbose mode, `test_delegator` in `test/psych/visitors/test_yaml_tree.rb` shows following warning.

https://travis-ci.org/ruby/psych/jobs/562435717#L268
```
/home/travis/build/ruby/psych/test/psych/visitors/test_yaml_tree.rb:10: warning: instance variable @obj not initialized
```

This is because `Psych.load` bypasses #initialize with the #init_with method.

https://github.com/ruby/psych/commit/f99523388f
2019-07-25 07:52:17 +09:00
..
test_depth_first.rb
test_emitter.rb
test_to_ruby.rb
test_yaml_tree.rb [ruby/psych] Suppress uninitialized instance variable warnings 2019-07-25 07:52:17 +09:00