瀏覽代碼

Correct xml test

gingerBill 3 年之前
父節點
當前提交
bc18310107
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      tests/core/encoding/xml/test_core_xml.odin

+ 1 - 1
tests/core/encoding/xml/test_core_xml.odin

@@ -218,7 +218,7 @@ doc_to_string :: proc(doc: ^xml.Document) -> (result: string) {
 
 		written += wprintf(writer, "[XML Prolog]\n")
 
-		for attr in doc.prolog {
+		for attr in doc.prologue {
 			written += wprintf(writer, "\t%v: %v\n", attr.key, attr.val)
 		}