From 2140295f0d04de3809bdd1c6742a3f283fe2199b Mon Sep 17 00:00:00 2001 From: akr Date: Tue, 23 Dec 2008 07:24:13 +0000 Subject: * io.c (rb_io_inspect): show fd number if there is no pathname. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20940 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/ruby/test_io.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/ruby') diff --git a/test/ruby/test_io.rb b/test/ruby/test_io.rb index d00c0a3f7..e0350452d 100644 --- a/test/ruby/test_io.rb +++ b/test/ruby/test_io.rb @@ -705,7 +705,7 @@ class TestIO < Test::Unit::TestCase def test_inspect with_pipe do |r, w| - assert(r.inspect =~ /^#$/) + assert(r.inspect =~ /^#$/) assert_raise(SecurityError) do safe_4 { r.inspect } end -- cgit