summaryrefslogtreecommitdiffstats
path: root/dom/system/tests/ioutils/test_ioutils_mac_xattr.html
diff options
context:
space:
mode:
Diffstat (limited to 'dom/system/tests/ioutils/test_ioutils_mac_xattr.html')
-rw-r--r--dom/system/tests/ioutils/test_ioutils_mac_xattr.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/dom/system/tests/ioutils/test_ioutils_mac_xattr.html b/dom/system/tests/ioutils/test_ioutils_mac_xattr.html
index 6af9b2e6f8..775490976e 100644
--- a/dom/system/tests/ioutils/test_ioutils_mac_xattr.html
+++ b/dom/system/tests/ioutils/test_ioutils_mac_xattr.html
@@ -36,7 +36,7 @@
info("Testing getting an attribute that does not exist");
await Assert.rejects(
IOUtils.getMacXAttr(path, ATTR),
- /NotFoundError: The file `.+' does not have an extended attribute/,
+ /NotFoundError: Could not get extended attribute `bogus.attr' from `.*': the file does not have the attribute/,
"IOUtils::getMacXAttr rejects when the attribute does not exist"
);
@@ -61,7 +61,7 @@
await IOUtils.delMacXAttr(path, ATTR);
await Assert.rejects(
IOUtils.getMacXAttr(path, ATTR),
- /NotFoundError: The file `.+' does not have an extended attribute/,
+ /NotFoundError: Could not get extended attribute `bogus.attr' from `.*': the file does not have the attribute/,
"IOUtils::delMacXAttr removes the attribute"
);
@@ -73,7 +73,7 @@
info("Testing removing an attribute that does not exist");
await Assert.rejects(
IOUtils.delMacXAttr(path, ATTR),
- /NotFoundError: The file `.+' does not have an extended attribute/,
+ /NotFoundError: Could not delete extended attribute `bogus.attr' from `.*': the file does not have the attribute/,
"IOUtils::delMacXAttr rejects when the attribute does not exist"
);