Pārlūkot izejas kodu

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

meteorlxy 5 gadi atpakaļ
vecāks
revīzija
64f44c671a
1 mainītis faili ar 4 papildinājumiem un 4 dzēšanām
  1. 4 4
      packages/compiler-core/__tests__/parse.spec.ts

+ 4 - 4
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(
         `<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({