summaryrefslogtreecommitdiff
path: root/test/-ext-
diff options
context:
space:
mode:
Diffstat (limited to 'test/-ext-')
-rw-r--r--test/-ext-/num2int/test_num2int.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/-ext-/num2int/test_num2int.rb b/test/-ext-/num2int/test_num2int.rb
index 381336e0c8..b69f29a516 100644
--- a/test/-ext-/num2int/test_num2int.rb
+++ b/test/-ext-/num2int/test_num2int.rb
@@ -188,7 +188,7 @@ class TestNum2int < Test::Unit::TestCase
assert_output((FIXNUM_MAX+1).to_s) do
Num2int.print_num2ll(FIXNUM_MAX+1)
end
- end
+ end if defined?(Num2int.print_num2ll)
def test_num2ull
assert_output("0") do
@@ -221,7 +221,7 @@ class TestNum2int < Test::Unit::TestCase
assert_output((FIXNUM_MAX+1).to_s) do
Num2int.print_num2ull(FIXNUM_MAX+1)
end
- end
+ end if defined?(Num2int.print_num2ull)
end