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

Method test_fl_scope

ci/lint_cpp/test_noexcept_checker.py:127–129  ·  view source on GitHub ↗

Violations in src/fl/ are also detected.

(self)

Source from the content-addressed store, hash-verified

125 self.assertEqual(len(_violations("void a();\nint b();\nbool c() const;")), 3)
126
127 def test_fl_scope(self) -> None:
128 """Violations in src/fl/ are also detected."""
129 self.assertEqual(len(_violations("void foo();", path=_FL_HEADER)), 1)
130
131
132# ── Should pass (has noexcept / FL_NOEXCEPT) ────────────────────────────────

Callers

nothing calls this directly

Calls 1

_violationsFunction · 0.70

Tested by

no test coverage detected