diff --git a/test/dl/test_import.rb b/test/dl/test_import.rb index 64cbf53fbc..26b9f3c803 100644 --- a/test/dl/test_import.rb +++ b/test/dl/test_import.rb @@ -48,6 +48,7 @@ module DL extern "void *strcpy(char*, char*)" end end + assert_match(/call dlload before/, err.message) end def test_malloc()