Skip to content

Commit

Permalink
chore: fix tests with rawExp
Browse files Browse the repository at this point in the history
  • Loading branch information
yyx990803 committed Nov 25, 2023
1 parent e48cbf0 commit bab5bd3
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 19 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3882,7 +3882,6 @@ exports[`compiler: parse > Errors > X_MISSING_DYNAMIC_DIRECTIVE_ARGUMENT_END > <
},
"modifiers": [],
"name": "foo",
"rawExp": undefined,
"rawName": "v-foo:[sef",
"type": 7,
},
Expand Down Expand Up @@ -4487,7 +4486,6 @@ exports[`compiler: parse > self closing multiple tag 1`] = `
},
"modifiers": [],
"name": "bind",
"rawExp": "{ some: condition }",
"rawName": ":class",
"type": 7,
},
Expand Down Expand Up @@ -4568,7 +4566,6 @@ exports[`compiler: parse > self closing multiple tag 1`] = `
},
"modifiers": [],
"name": "bind",
"rawExp": "{ color: 'red' }",
"rawName": "v-bind:style",
"type": 7,
},
Expand Down Expand Up @@ -4683,7 +4680,6 @@ exports[`compiler: parse > valid html 1`] = `
},
"modifiers": [],
"name": "bind",
"rawExp": "{ color: 'red' }",
"rawName": "v-bind:style",
"type": 7,
},
Expand Down Expand Up @@ -4783,7 +4779,6 @@ exports[`compiler: parse > valid html 1`] = `
},
"modifiers": [],
"name": "bind",
"rawExp": "{ some: condition }",
"rawName": ":class",
"type": 7,
},
Expand Down
14 changes: 0 additions & 14 deletions packages/compiler-core/__tests__/parse.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1143,7 +1143,6 @@ describe('compiler: parse', () => {
arg: undefined,
modifiers: [],
exp: undefined,
rawExp: undefined,
loc: {
start: { offset: 5, line: 1, column: 6 },
end: { offset: 9, line: 1, column: 10 },
Expand Down Expand Up @@ -1173,7 +1172,6 @@ describe('compiler: parse', () => {
source: 'a'
}
},
rawExp: 'a',
loc: {
start: { offset: 5, line: 1, column: 6 },
end: { offset: 13, line: 1, column: 14 },
Expand Down Expand Up @@ -1203,7 +1201,6 @@ describe('compiler: parse', () => {
},
modifiers: [],
exp: undefined,
rawExp: undefined,
loc: {
start: { offset: 5, line: 1, column: 6 },
end: { offset: 15, line: 1, column: 16 },
Expand Down Expand Up @@ -1260,7 +1257,6 @@ describe('compiler: parse', () => {
},
modifiers: [],
exp: undefined,
rawExp: undefined,
loc: {
start: { offset: 5, line: 1, column: 6 },
end: { offset: 17, line: 1, column: 18 },
Expand All @@ -1280,7 +1276,6 @@ describe('compiler: parse', () => {
arg: undefined,
modifiers: ['enter'],
exp: undefined,
rawExp: undefined,
loc: {
start: { offset: 5, line: 1, column: 6 },
end: { offset: 15, line: 1, column: 16 },
Expand All @@ -1300,7 +1295,6 @@ describe('compiler: parse', () => {
arg: undefined,
modifiers: ['enter', 'exact'],
exp: undefined,
rawExp: undefined,
loc: {
start: { offset: 5, line: 1, column: 6 },
end: { offset: 21, line: 1, column: 22 },
Expand Down Expand Up @@ -1330,7 +1324,6 @@ describe('compiler: parse', () => {
},
modifiers: ['enter', 'exact'],
exp: undefined,
rawExp: undefined,
loc: {
start: { offset: 5, line: 1, column: 6 },
end: { offset: 27, line: 1, column: 28 },
Expand Down Expand Up @@ -1360,7 +1353,6 @@ describe('compiler: parse', () => {
},
modifiers: ['camel'],
exp: undefined,
rawExp: undefined,
loc: {
start: { offset: 5, line: 1, column: 6 },
end: { offset: 21, line: 1, column: 22 },
Expand Down Expand Up @@ -1427,7 +1419,6 @@ describe('compiler: parse', () => {
source: 'b'
}
},
rawExp: 'b',
loc: {
start: { offset: 5, line: 1, column: 6 },
end: { offset: 9, line: 1, column: 10 },
Expand Down Expand Up @@ -1467,7 +1458,6 @@ describe('compiler: parse', () => {
source: 'b'
}
},
rawExp: 'b',
loc: {
start: { offset: 5, line: 1, column: 6 },
end: { offset: 9, line: 1, column: 10 },
Expand Down Expand Up @@ -1508,7 +1498,6 @@ describe('compiler: parse', () => {
source: 'b'
}
},
rawExp: 'b',
loc: {
start: { offset: 5, line: 1, column: 6 },
end: { offset: 14, line: 1, column: 15 },
Expand Down Expand Up @@ -1549,7 +1538,6 @@ describe('compiler: parse', () => {
source: 'b'
}
},
rawExp: 'b',
loc: {
start: { offset: 5, line: 1, column: 6 },
end: { offset: 9, line: 1, column: 10 },
Expand Down Expand Up @@ -1590,7 +1578,6 @@ describe('compiler: parse', () => {
source: 'b'
}
},
rawExp: 'b',
loc: {
start: { offset: 5, line: 1, column: 6 },
end: { offset: 15, line: 1, column: 16 },
Expand Down Expand Up @@ -1631,7 +1618,6 @@ describe('compiler: parse', () => {
source: '{ b }'
}
},
rawExp: '{ b }',
loc: {
start: { offset: 6, line: 1, column: 7 },
end: { offset: 16, line: 1, column: 17 },
Expand Down

0 comments on commit bab5bd3

Please sign in to comment.