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

Method test_void_func

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

Source from the content-addressed store, hash-verified

101 """Test that functions missing FL_NOEXCEPT are flagged."""
102
103 def test_void_func(self) -> None:
104 self.assertEqual(len(_violations("void foo();")), 1)
105
106 def test_return_type(self) -> None:
107 self.assertEqual(len(_violations("int bar(float x);")), 1)

Callers

nothing calls this directly

Calls 1

_violationsFunction · 0.70

Tested by

no test coverage detected