MCPcopy Create free account
hub / github.com/FastLED/FastLED / banned_macros_ignores_string_literals

Function banned_macros_ignores_string_literals

ci/lint_cpp_rs/src/lib.rs:7689–7696  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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() {

Callers

nothing calls this directly

Calls 2

fileFunction · 0.85
check_file_contentMethod · 0.45

Tested by

no test coverage detected