summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/etc/test_etc.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/etc/test_etc.rb b/test/etc/test_etc.rb
index 9196b139da..8fb3b485a3 100644
--- a/test/etc/test_etc.rb
+++ b/test/etc/test_etc.rb
@@ -24,7 +24,7 @@ class TestEtc < Test::Unit::TestCase
assert_kind_of(Integer, s.expire) if s.respond_to?(:expire)
end
- assert_raise(RuntimeError) { Etc.passwd { Etc.passwd { } } }
+ Etc.passwd { assert_raise(RuntimeError) { Etc.passwd { } }; break }
end
def test_getpwuid
@@ -63,7 +63,7 @@ class TestEtc < Test::Unit::TestCase
assert_kind_of(Integer, s.gid)
end
- assert_raise(RuntimeError) { Etc.group { Etc.group { } } }
+ Etc.group { assert_raise(RuntimeError) { Etc.group { } }; break }
end
def test_getgrgid