Skip to content

Commit 64f44c6

Browse files
authored
chore(compiler-core): fix typo in tests (vuejs#2209)
1 parent 747dc2d commit 64f44c6

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

packages/compiler-core/__tests__/parse.spec.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ describe('compiler: parse', () => {
123123
})
124124
})
125125

126-
test('lonly "<" don\'t separate nodes', () => {
126+
test('lonely "<" doesn\'t separate nodes', () => {
127127
const ast = baseParse('a < b', {
128128
onError: err => {
129129
if (err.code !== ErrorCodes.INVALID_FIRST_CHARACTER_OF_TAG_NAME) {
@@ -144,7 +144,7 @@ describe('compiler: parse', () => {
144144
})
145145
})
146146

147-
test('lonly "{{" don\'t separate nodes', () => {
147+
test('lonely "{{" doesn\'t separate nodes', () => {
148148
const ast = baseParse('a {{ b', {
149149
onError: error => {
150150
if (error.code !== ErrorCodes.X_MISSING_INTERPOLATION_END) {
@@ -549,7 +549,7 @@ describe('compiler: parse', () => {
549549
})
550550
})
551551

552-
test('v-is without `isNativeTag`', () => {
552+
test('v-is with `isNativeTag`', () => {
553553
const ast = baseParse(
554554
`<div></div><div v-is="'foo'"></div><Comp></Comp>`,
555555
{
@@ -576,7 +576,7 @@ describe('compiler: parse', () => {
576576
})
577577
})
578578

579-
test('v-is with `isNativeTag`', () => {
579+
test('v-is without `isNativeTag`', () => {
580580
const ast = baseParse(`<div></div><div v-is="'foo'"></div><Comp></Comp>`)
581581

582582
expect(ast.children[0]).toMatchObject({

0 commit comments

Comments
 (0)