diff options
| author | eban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-05-29 09:11:18 +0000 |
|---|---|---|
| committer | eban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-05-29 09:11:18 +0000 |
| commit | c2b08b7bd3cbb9e24e790a409e11291488ecd419 (patch) | |
| tree | 1bd18eee6123390a0e581e6ba48c655c8614d034 /sample | |
| parent | b0872f067fb1143f7dc7fa6048d44c06193bfb9d (diff) | |
| download | ruby-c2b08b7bd3cbb9e24e790a409e11291488ecd419.tar.gz ruby-c2b08b7bd3cbb9e24e790a409e11291488ecd419.tar.xz ruby-c2b08b7bd3cbb9e24e790a409e11291488ecd419.zip | |
* 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: http://svn.ruby-lang.org/repos/ruby/trunk@3877 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'sample')
| -rw-r--r-- | sample/test.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sample/test.rb b/sample/test.rb index c43b3c040..c4a0c6176 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)} |
