(t *testing.T)
| 1056 | } |
| 1057 | |
| 1058 | func TestFormatAST_Nil(t *testing.T) { |
| 1059 | result := formatter.FormatAST(nil, ast.CompactStyle()) |
| 1060 | if result != "" { |
| 1061 | t.Errorf("nil AST should return empty string, got: %q", result) |
| 1062 | } |
| 1063 | } |
| 1064 | |
| 1065 | // ─── NilStatement fallback ─────────────────────────────────────────────────── |
| 1066 |
nothing calls this directly
no test coverage detected