Skip to content

Commit

Permalink
chore(compiler-core): fix typo in tests (vuejs#2209)
Browse files Browse the repository at this point in the history
  • Loading branch information
meteorlxy committed Sep 23, 2020
1 parent 747dc2d commit 64f44c6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/compiler-core/__tests__/parse.spec.ts
Expand Up @@ -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) {
Expand All @@ -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) {
Expand Down Expand Up @@ -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>`,
{
Expand All @@ -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({
Expand Down

0 comments on commit 64f44c6

Please sign in to comment.