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

Method test_noexcept

ci/lint_cpp/test_noexcept_checker.py:138–139  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

136 """Test that functions with noexcept/FL_NOEXCEPT are not flagged."""
137
138 def test_noexcept(self) -> None:
139 self.assertEqual(len(_violations("void foo() noexcept;")), 0)
140
141 def test_noexcept_def(self) -> None:
142 self.assertEqual(len(_violations("void foo() noexcept {")), 0)

Callers

nothing calls this directly

Calls 1

_violationsFunction · 0.70

Tested by

no test coverage detected