summaryrefslogtreecommitdiffstats
path: root/dom/system/tests/ioutils/test_ioutils_windows_file_attributes.html
diff options
context:
space:
mode:
Diffstat (limited to 'dom/system/tests/ioutils/test_ioutils_windows_file_attributes.html')
-rw-r--r--dom/system/tests/ioutils/test_ioutils_windows_file_attributes.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/dom/system/tests/ioutils/test_ioutils_windows_file_attributes.html b/dom/system/tests/ioutils/test_ioutils_windows_file_attributes.html
index a5b72bd078..00219fd6fb 100644
--- a/dom/system/tests/ioutils/test_ioutils_windows_file_attributes.html
+++ b/dom/system/tests/ioutils/test_ioutils_windows_file_attributes.html
@@ -48,7 +48,7 @@
await Assert.rejects(
IOUtils.writeUTF8(filePath, "hello, world"),
- /NotAllowedError: Could not open the file at .+ for writing/,
+ /NotAllowedError: Could not write to `.*': failed to open file for writing/,
"IOUtils::writeUTF8 on a read-only file fails."
);