spelling: cannot

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
Josh Soref
2025-04-16 21:00:12 -04:00
parent 2bb77406fb
commit 0507fe114e
9 changed files with 10 additions and 10 deletions

View File

@@ -40,7 +40,7 @@ describe('when parsing ER diagram it...', function () {
allowed.forEach((allowedChar) => { allowed.forEach((allowedChar) => {
const singleOccurrence = `Blo${allowedChar}rf`; const singleOccurrence = `Blo${allowedChar}rf`;
const repeatedOccurrence = `Blo${allowedChar}${allowedChar}rf`; const repeatedOccurrence = `Blo${allowedChar}${allowedChar}rf`;
const cannontStartWith = `${allowedChar}Blorf`; const cannotStartWith = `${allowedChar}Blorf`;
const endsWith = `Blorf${allowedChar}`; const endsWith = `Blorf${allowedChar}`;
it(`${singleOccurrence} fails if not surrounded by quotes`, function () { it(`${singleOccurrence} fails if not surrounded by quotes`, function () {
@@ -73,7 +73,7 @@ describe('when parsing ER diagram it...', function () {
expect(entities.has(name)).toBe(true); expect(entities.has(name)).toBe(true);
}); });
it(`"${cannontStartWith}" cannot start with the character`, function () { it(`"${cannotStartWith}" cannot start with the character`, function () {
const name = repeatedOccurrence; const name = repeatedOccurrence;
expect(() => { expect(() => {
erDiagram.parser.parse(`erDiagram\n "${name}"\n`); erDiagram.parser.parse(`erDiagram\n "${name}"\n`);