()
| 7687 | |
| 7688 | #[test] |
| 7689 | fn banned_macros_ignores_string_literals() { |
| 7690 | let checker = BannedMacrosChecker; |
| 7691 | let result = checker.check_file_content(&file( |
| 7692 | "src/fl/example.h", |
| 7693 | "FL_WARN(\"use static_assert elsewhere\");", |
| 7694 | )); |
| 7695 | assert!(result.is_empty()); |
| 7696 | } |
| 7697 | |
| 7698 | #[test] |
| 7699 | fn bare_allocation_rejects_malloc_but_not_fl_malloc() { |
nothing calls this directly
no test coverage detected