chore(compiler-core): fix typo in tests (#2209)

This commit is contained in:
meteorlxy 2020-09-23 18:25:52 +08:00 committed by GitHub
parent 747dc2d4b5
commit 64f44c671a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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(
`<div></div><div v-is="'foo'"></div><Comp></Comp>`,
{
@ -576,7 +576,7 @@ describe('compiler: parse', () => {
})
})
test('v-is with `isNativeTag`', () => {
test('v-is without `isNativeTag`', () => {
const ast = baseParse(`<div></div><div v-is="'foo'"></div><Comp></Comp>`)
expect(ast.children[0]).toMatchObject({