chore(compiler-core): fix typo in tests (#2209)
This commit is contained in:
parent
747dc2d4b5
commit
64f44c671a
@ -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({
|
||||
|
Loading…
Reference in New Issue
Block a user