summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/tree2.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/tree2.c b/test/tree2.c
index 15e9901..e769221 100644
--- a/test/tree2.c
+++ b/test/tree2.c
@@ -856,9 +856,9 @@ static void node_print(buf_t *buf, node_t *node, unsigned depth)
if (node->data.doctype.public_id) {
buf_add(buf, " \"");
buf_add(buf, node->data.doctype.public_id);
- buf_add(buf, "\" ");
+ buf_add(buf, "\"");
} else {
- buf_add(buf, "\"\" ");
+ buf_add(buf, " \"\"");
}
if (node->data.doctype.system_id) {
@@ -866,7 +866,7 @@ static void node_print(buf_t *buf, node_t *node, unsigned depth)
buf_add(buf, node->data.doctype.system_id);
buf_add(buf, "\"");
} else {
- buf_add(buf, "\"\"");
+ buf_add(buf, " \"\"");
}
}