]> git.ipfire.org Git - thirdparty/vuejs/core.git/commitdiff
chore(compiler-core): fix typo in tests (#2209)
authormeteorlxy <meteor.lxy@foxmail.com>
Wed, 23 Sep 2020 10:25:52 +0000 (18:25 +0800)
committerGitHub <noreply@github.com>
Wed, 23 Sep 2020 10:25:52 +0000 (12:25 +0200)
packages/compiler-core/__tests__/parse.spec.ts

index 56bea060506b07104753ee14baf958785289352e..eabbbcaec24c86faf68f8d23b6c5b05ccdbfabec 100644 (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({