summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-07-20 10:21:16 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-07-20 10:21:16 +0000
commit583892002aafd72d3b08403e75c69cf286c48655 (patch)
treedae518e311a5219661360326c7e98bfabaa9d726 /test
parent1889b47414ae76b09e194ea7434547709b86111f (diff)
downloadruby-583892002aafd72d3b08403e75c69cf286c48655.tar.gz
ruby-583892002aafd72d3b08403e75c69cf286c48655.tar.xz
ruby-583892002aafd72d3b08403e75c69cf286c48655.zip
* io.c (S_ISREG): need to define S_ISREG before it is used first.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8813 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 abaadbaf7..17b3d3c4e 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))