mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-10-02 05:39:38 +02:00
spelling: cannot
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
@@ -40,7 +40,7 @@ describe('when parsing ER diagram it...', function () {
|
||||
allowed.forEach((allowedChar) => {
|
||||
const singleOccurrence = `Blo${allowedChar}rf`;
|
||||
const repeatedOccurrence = `Blo${allowedChar}${allowedChar}rf`;
|
||||
const cannontStartWith = `${allowedChar}Blorf`;
|
||||
const cannotStartWith = `${allowedChar}Blorf`;
|
||||
const endsWith = `Blorf${allowedChar}`;
|
||||
|
||||
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);
|
||||
});
|
||||
|
||||
it(`"${cannontStartWith}" cannot start with the character`, function () {
|
||||
it(`"${cannotStartWith}" cannot start with the character`, function () {
|
||||
const name = repeatedOccurrence;
|
||||
expect(() => {
|
||||
erDiagram.parser.parse(`erDiagram\n "${name}"\n`);
|
||||
|
Reference in New Issue
Block a user