diff --git a/expat/tests/acc_tests.c b/expat/tests/acc_tests.c
index 73337d39..30801bee 100644
--- a/expat/tests/acc_tests.c
+++ b/expat/tests/acc_tests.c
@@ -149,6 +149,11 @@ START_TEST(test_accounting_precision) {
"]>\n"
"&five;",
"12345", NULL, 0, filled_later},
+ {"\n"
+ "]>\n"
+ "&five;",
+ "\xEF\xBB\xBF" /* UTF-8 BOM */, NULL, 0, filled_later},
/* Parameter entities */
{"" /* UTF-8 BOM */,
strlen("\xEF\xBB\xBF"), filled_later},
- {"\n"
- "]>\n"
- "&five;",
- "\xEF\xBB\xBF" /* UTF-8 BOM */, NULL, 0, filled_later},
};
const size_t countCases = sizeof(cases) / sizeof(cases[0]);