From 2e0680f22100e8fc46c8efb43ff1a1b875a9e306 Mon Sep 17 00:00:00 2001 From: usa Date: Wed, 6 Jul 2005 02:20:58 +0000 Subject: * win32/win32.c (open_ifs_socket): new function. * win32/win32.c (StartSockets, rb_w32_socket): use open_ifs_socket() instead of socket(). all changes are derived from [ruby-core:5388]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8731 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/sdbm/test_sdbm.rb | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'test/sdbm') diff --git a/test/sdbm/test_sdbm.rb b/test/sdbm/test_sdbm.rb index 58c21230ed..3cc75bf23c 100644 --- a/test/sdbm/test_sdbm.rb +++ b/test/sdbm/test_sdbm.rb @@ -31,14 +31,14 @@ class TestSDBM < Test::Unit::TestCase end end - def have_fork? - begin - fork{} - true - rescue NotImplementedError - false - end + def have_fork? + begin + fork{} + true + rescue NotImplementedError + false end + end def test_version assert(! SDBM.const_defined?(:VERSION)) -- cgit v1.2.3