summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-07-06 02:20:58 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-07-06 02:20:58 +0000
commit4fcc9a08a9e1413a8cdafb7dcf2b1cc4042d960d (patch)
tree9d04f8151a61f0b1fd4b13e627f2882441c238e0 /test
parentda62f531d8bcf15ff14a6918ebb6b1865dac0bff (diff)
downloadruby-4fcc9a08a9e1413a8cdafb7dcf2b1cc4042d960d.tar.gz
ruby-4fcc9a08a9e1413a8cdafb7dcf2b1cc4042d960d.tar.xz
ruby-4fcc9a08a9e1413a8cdafb7dcf2b1cc4042d960d.zip
* 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: http://svn.ruby-lang.org/repos/ruby/trunk@8731 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test')
-rw-r--r--test/sdbm/test_sdbm.rb14
1 files changed, 7 insertions, 7 deletions
diff --git a/test/sdbm/test_sdbm.rb b/test/sdbm/test_sdbm.rb
index 58c21230e..3cc75bf23 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))