| 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("")); |
nothing calls this directly
no test coverage detected