From: meteorlxy Date: Wed, 23 Sep 2020 10:25:52 +0000 (+0800) Subject: chore(compiler-core): fix typo in tests (#2209) X-Git-Tag: v3.0.1~71 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=64f44c671a65e611f6b9880942d0035b16804c0d;p=thirdparty%2Fvuejs%2Fcore.git chore(compiler-core): fix typo in tests (#2209) --- diff --git a/packages/compiler-core/__tests__/parse.spec.ts b/packages/compiler-core/__tests__/parse.spec.ts index 56bea06050..eabbbcaec2 100644 --- a/packages/compiler-core/__tests__/parse.spec.ts +++ b/packages/compiler-core/__tests__/parse.spec.ts @@ -123,7 +123,7 @@ describe('compiler: parse', () => { }) }) - test('lonly "<" don\'t separate nodes', () => { + test('lonely "<" doesn\'t separate nodes', () => { const ast = baseParse('a < b', { onError: err => { if (err.code !== ErrorCodes.INVALID_FIRST_CHARACTER_OF_TAG_NAME) { @@ -144,7 +144,7 @@ describe('compiler: parse', () => { }) }) - test('lonly "{{" don\'t separate nodes', () => { + test('lonely "{{" doesn\'t separate nodes', () => { const ast = baseParse('a {{ b', { onError: error => { if (error.code !== ErrorCodes.X_MISSING_INTERPOLATION_END) { @@ -549,7 +549,7 @@ describe('compiler: parse', () => { }) }) - test('v-is without `isNativeTag`', () => { + test('v-is with `isNativeTag`', () => { const ast = baseParse( `
`, { @@ -576,7 +576,7 @@ describe('compiler: parse', () => { }) }) - test('v-is with `isNativeTag`', () => { + test('v-is without `isNativeTag`', () => { const ast = baseParse(`
`) expect(ast.children[0]).toMatchObject({