MCPcopy Create free account
hub / github.com/IChooseYou/Reclass / testFmtStructFooter

Method testFmtStructFooter

tests/test_format.cpp:76–83  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

74 }
75
76 void testFmtStructFooter() {
77 Node n;
78 n.kind = NodeKind::Struct;
79 n.name = "Test";
80 QString s = fmt::fmtStructFooter(n, 0);
81 QVERIFY(s.contains("};"));
82 // When no size, footer is just "};" without name
83 }
84
85 void testIndent() {
86 QCOMPARE(fmt::indent(0), QString(""));

Callers

nothing calls this directly

Calls 1

fmtStructFooterFunction · 0.85

Tested by

no test coverage detected