diff --git a/dlls/xmllite/tests/writer.c b/dlls/xmllite/tests/writer.c
index 87cdaabce15..972eb96d9b2 100644
--- a/dlls/xmllite/tests/writer.c
+++ b/dlls/xmllite/tests/writer.c
@@ -1572,6 +1572,27 @@ static void test_indentation(void)
IXmlWriter_Release(writer);
}
+static HRESULT write_attribute_string(IXmlWriter *writer, const char *prefix, const char *local,
+ const char *uri, const char *value)
+{
+ WCHAR *prefixW, *localW, *uriW, *valueW;
+ HRESULT hr;
+
+ prefixW = strdupAtoW(prefix);
+ localW = strdupAtoW(local);
+ uriW = strdupAtoW(uri);
+ valueW = strdupAtoW(value);
+
+ hr = IXmlWriter_WriteAttributeString(writer, prefixW, localW, uriW, valueW);
+
+ heap_free(prefixW);
+ heap_free(localW);
+ heap_free(uriW);
+ heap_free(valueW);
+
+ return hr;
+}
+
static void test_WriteAttributeString(void)
{
static const struct
@@ -1589,6 +1610,7 @@ static void test_WriteAttributeString(void)
{ NULL, "a", NULL, "b", "", "", "", "", "", "", "");
+ "");
IXmlWriter_Release(writer);
IStream_Release(stream);