From e617fd0bf84f80de8fc40a1ea86e96bd2848493a Mon Sep 17 00:00:00 2001 From: eban Date: Thu, 29 May 2003 09:11:18 +0000 Subject: * win32/win32.c (_CRTIMP): redefine _CRTIMP on MinGW. * configure.in: remove '-D__USE_CRTIMP' from XCFLAGS on MinGW. * win32/win32.c (NtMakeCmdVector): handle quotes only if not instring. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3877 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- sample/test.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sample/test.rb') diff --git a/sample/test.rb b/sample/test.rb index c43b3c040b..c4a0c6176a 100644 --- a/sample/test.rb +++ b/sample/test.rb @@ -928,9 +928,9 @@ class IterTest a end end -test_ok(IterTest.new(nil).method(:f).to_proc.call([1]) == [1]) +test_ok(IterTest.new(nil).method(:f).to_block.call([1]) == [1]) m = /\w+/.match("abc") -test_ok(IterTest.new(nil).method(:f).to_proc.call([m]) == [m]) +test_ok(IterTest.new(nil).method(:f).to_block.call([m]) == [m]) IterTest.new([0]).each0 {|x| test_ok(x == 0)} IterTest.new([1]).each1 {|x| test_ok(x == 1)} -- cgit v1.2.3