aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/mkmf/test_have_func.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/mkmf/test_have_func.rb b/test/mkmf/test_have_func.rb
index 5f76b72122..6204ab24f0 100644
--- a/test/mkmf/test_have_func.rb
+++ b/test/mkmf/test_have_func.rb
@@ -6,10 +6,12 @@ class TestMkmf
class TestHaveFunc < TestMkmf
def test_have_func
assert_equal(true, have_func("ruby_init"), MKMFLOG)
+ assert_include($defs, '-DHAVE_RUBY_INIT')
end
def test_not_have_func
assert_equal(false, have_func("no_ruby_init"), MKMFLOG)
+ assert_not_include($defs, '-DHAVE_RUBY_INIT')
end
end
end