summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/etc/test_etc.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/etc/test_etc.rb b/test/etc/test_etc.rb
index 29e5f0bed2..6fc7c6092b 100644
--- a/test/etc/test_etc.rb
+++ b/test/etc/test_etc.rb
@@ -18,7 +18,7 @@ class TestEtc < Test::Unit::TestCase
assert_instance_of(String, s.shell)
assert_kind_of(Integer, s.change) if s.respond_to?(:change)
assert_kind_of(Integer, s.quota) if s.respond_to?(:quota)
- assert_kind_of(Integer, s.age) if s.respond_to?(:age)
+ assert(s.age.is_a?(Integer) || s.age.is_a?(String)) if s.respond_to?(:age)
assert_instance_of(String, s.uclass) if s.respond_to?(:uclass)
assert_instance_of(String, s.comment) if s.respond_to?(:comment)
assert_kind_of(Integer, s.expire) if s.respond_to?(:expire)