add test_error_detection to check it detects error

This commit is contained in:
ToruNiina
2018-12-22 17:43:42 +09:00
parent c63ac7e435
commit edb48b2872
2 changed files with 201 additions and 1 deletions

View File

@@ -26,7 +26,8 @@ set(TEST_NAMES
test_from_toml
test_parse_file
test_parse_unicode
)
test_error_detection
)
CHECK_CXX_COMPILER_FLAG("-Wall" COMPILER_SUPPORTS_WALL)
CHECK_CXX_COMPILER_FLAG("-Wpedantic" COMPILER_SUPPORTS_WPEDANTIC)