diff options
Diffstat (limited to 'test/ruby/test_io.rb')
-rw-r--r-- | test/ruby/test_io.rb | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/test/ruby/test_io.rb b/test/ruby/test_io.rb index e784c30c07..5c713451df 100644 --- a/test/ruby/test_io.rb +++ b/test/ruby/test_io.rb @@ -2470,15 +2470,10 @@ End end def test_DATA_binmode - make_tempfile {|t| - open(t.path, "w") {|f| - f.puts <<-SRC -puts DATA.binmode? + assert_separately([], <<-SRC) +assert_not_predicate(DATA, :binmode?) __END__ - SRC - } - assert_in_out_err(t.path, [], %w(false)) - } + SRC end def test_threaded_flush |