Use double quotes for identifiers in error messages

This commit is contained in:
Daniel Gasienica 2018-03-23 18:24:50 -04:00
parent 06e7bca276
commit 867f73b80a
6 changed files with 15 additions and 15 deletions

View file

@ -183,14 +183,14 @@ describe('Message', () => {
const toVersionX = () => {};
assert.throws(
() => Message._withSchemaVersion(toVersionX, 2),
'`schemaVersion` is invalid'
'"schemaVersion" is invalid'
);
});
it('should require an upgrade function', () => {
assert.throws(
() => Message._withSchemaVersion(2, 3),
'`upgrade` must be a function'
'"upgrade" must be a function'
);
});