aboutsummaryrefslogtreecommitdiff
path: root/tests/core/encoding/xml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/core/encoding/xml')
-rw-r--r--tests/core/encoding/xml/test_core_xml.odin2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/core/encoding/xml/test_core_xml.odin b/tests/core/encoding/xml/test_core_xml.odin
index a17594b7e..3cfc75a65 100644
--- a/tests/core/encoding/xml/test_core_xml.odin
+++ b/tests/core/encoding/xml/test_core_xml.odin
@@ -281,7 +281,7 @@ doc_to_string :: proc(doc: ^xml.Document) -> (result: string) {
}
buf: strings.Builder
- defer strings.destroy_builder(&buf)
+ defer strings.builder_destroy(&buf)
print(strings.to_writer(&buf), doc)
return strings.clone(strings.to_string(buf))