Project

General

Profile

« Previous | Next » 

Revision abdd3c56

Added by mame (Yusuke Endoh) over 4 years ago

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.