From fbcc23a8faff983216fdf3d99614a8c4cb18c0c1 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: svn+ssh://ci.ruby-lang.org/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/test_io.rb') diff --git a/test/ruby/test_io.rb b/test/ruby/test_io.rb index d00c0a3f7c..e0350452d5 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 v1.2.3