Commit 1a8634f5 1a8634f5ea6cc8f3b9a843c3136492c3b2813827 by Nicolas Perriault

more detailed default message for Tester.assertElementCount()

1 parent 414878b4
......@@ -307,7 +307,10 @@ Tester.prototype.assertElementCount = function assertElementCount(selector, coun
}
}, selector) === count, message, {
type: "assertElementCount",
standard: f("%d matching element(s) found", count),
standard: f('%d element%s matching selector "%s" found',
count,
count > 1 ? 's' : '',
selector),
values: {
selector: selector,
count: count
......