Use double quotes for identifiers in error messages
This commit is contained in:
parent
06e7bca276
commit
867f73b80a
6 changed files with 15 additions and 15 deletions
|
@ -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'
|
||||
);
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue