diff options
| author | Yusuke Endoh <mame@ruby-lang.org> | 2020-09-25 23:45:42 +0900 |
|---|---|---|
| committer | Yusuke Endoh <mame@ruby-lang.org> | 2020-09-25 23:45:42 +0900 |
| commit | abdd3c5616e82af487249ef5e9d3e42bc983de1c (patch) | |
| tree | 27d7385836229857cfd644ef7bb0fe9e79ae106f /spec/ruby/shared/basicobject | |
| parent | 0db5324e0d3e891768962de8da7507be0288f18f (diff) | |
test/ruby/test_enumerator.rb: check the deprecation warning
by explicitly setting `Warning[:deprecated] = true`.
I removed "capture_io" at 79063d8cbfb7ce4740774289252a2a20dc9a5dc1, but
it printed the warning when `RUBYOPT=-w`.
This change makes the warnings enabled explicitly, capture and check the
warning.
Diffstat (limited to 'spec/ruby/shared/basicobject')
0 files changed, 0 insertions, 0 deletions
