Skip to content

Commit bab5bd3

Browse files
committed
chore: fix tests with rawExp
1 parent e48cbf0 commit bab5bd3

File tree

2 files changed

+0
-19
lines changed

2 files changed

+0
-19
lines changed

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

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3882,7 +3882,6 @@ exports[`compiler: parse > Errors > X_MISSING_DYNAMIC_DIRECTIVE_ARGUMENT_END > <
38823882
},
38833883
"modifiers": [],
38843884
"name": "foo",
3885-
"rawExp": undefined,
38863885
"rawName": "v-foo:[sef",
38873886
"type": 7,
38883887
},
@@ -4487,7 +4486,6 @@ exports[`compiler: parse > self closing multiple tag 1`] = `
44874486
},
44884487
"modifiers": [],
44894488
"name": "bind",
4490-
"rawExp": "{ some: condition }",
44914489
"rawName": ":class",
44924490
"type": 7,
44934491
},
@@ -4568,7 +4566,6 @@ exports[`compiler: parse > self closing multiple tag 1`] = `
45684566
},
45694567
"modifiers": [],
45704568
"name": "bind",
4571-
"rawExp": "{ color: 'red' }",
45724569
"rawName": "v-bind:style",
45734570
"type": 7,
45744571
},
@@ -4683,7 +4680,6 @@ exports[`compiler: parse > valid html 1`] = `
46834680
},
46844681
"modifiers": [],
46854682
"name": "bind",
4686-
"rawExp": "{ color: 'red' }",
46874683
"rawName": "v-bind:style",
46884684
"type": 7,
46894685
},
@@ -4783,7 +4779,6 @@ exports[`compiler: parse > valid html 1`] = `
47834779
},
47844780
"modifiers": [],
47854781
"name": "bind",
4786-
"rawExp": "{ some: condition }",
47874782
"rawName": ":class",
47884783
"type": 7,
47894784
},

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

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1143,7 +1143,6 @@ describe('compiler: parse', () => {
11431143
arg: undefined,
11441144
modifiers: [],
11451145
exp: undefined,
1146-
rawExp: undefined,
11471146
loc: {
11481147
start: { offset: 5, line: 1, column: 6 },
11491148
end: { offset: 9, line: 1, column: 10 },
@@ -1173,7 +1172,6 @@ describe('compiler: parse', () => {
11731172
source: 'a'
11741173
}
11751174
},
1176-
rawExp: 'a',
11771175
loc: {
11781176
start: { offset: 5, line: 1, column: 6 },
11791177
end: { offset: 13, line: 1, column: 14 },
@@ -1203,7 +1201,6 @@ describe('compiler: parse', () => {
12031201
},
12041202
modifiers: [],
12051203
exp: undefined,
1206-
rawExp: undefined,
12071204
loc: {
12081205
start: { offset: 5, line: 1, column: 6 },
12091206
end: { offset: 15, line: 1, column: 16 },
@@ -1260,7 +1257,6 @@ describe('compiler: parse', () => {
12601257
},
12611258
modifiers: [],
12621259
exp: undefined,
1263-
rawExp: undefined,
12641260
loc: {
12651261
start: { offset: 5, line: 1, column: 6 },
12661262
end: { offset: 17, line: 1, column: 18 },
@@ -1280,7 +1276,6 @@ describe('compiler: parse', () => {
12801276
arg: undefined,
12811277
modifiers: ['enter'],
12821278
exp: undefined,
1283-
rawExp: undefined,
12841279
loc: {
12851280
start: { offset: 5, line: 1, column: 6 },
12861281
end: { offset: 15, line: 1, column: 16 },
@@ -1300,7 +1295,6 @@ describe('compiler: parse', () => {
13001295
arg: undefined,
13011296
modifiers: ['enter', 'exact'],
13021297
exp: undefined,
1303-
rawExp: undefined,
13041298
loc: {
13051299
start: { offset: 5, line: 1, column: 6 },
13061300
end: { offset: 21, line: 1, column: 22 },
@@ -1330,7 +1324,6 @@ describe('compiler: parse', () => {
13301324
},
13311325
modifiers: ['enter', 'exact'],
13321326
exp: undefined,
1333-
rawExp: undefined,
13341327
loc: {
13351328
start: { offset: 5, line: 1, column: 6 },
13361329
end: { offset: 27, line: 1, column: 28 },
@@ -1360,7 +1353,6 @@ describe('compiler: parse', () => {
13601353
},
13611354
modifiers: ['camel'],
13621355
exp: undefined,
1363-
rawExp: undefined,
13641356
loc: {
13651357
start: { offset: 5, line: 1, column: 6 },
13661358
end: { offset: 21, line: 1, column: 22 },
@@ -1427,7 +1419,6 @@ describe('compiler: parse', () => {
14271419
source: 'b'
14281420
}
14291421
},
1430-
rawExp: 'b',
14311422
loc: {
14321423
start: { offset: 5, line: 1, column: 6 },
14331424
end: { offset: 9, line: 1, column: 10 },
@@ -1467,7 +1458,6 @@ describe('compiler: parse', () => {
14671458
source: 'b'
14681459
}
14691460
},
1470-
rawExp: 'b',
14711461
loc: {
14721462
start: { offset: 5, line: 1, column: 6 },
14731463
end: { offset: 9, line: 1, column: 10 },
@@ -1508,7 +1498,6 @@ describe('compiler: parse', () => {
15081498
source: 'b'
15091499
}
15101500
},
1511-
rawExp: 'b',
15121501
loc: {
15131502
start: { offset: 5, line: 1, column: 6 },
15141503
end: { offset: 14, line: 1, column: 15 },
@@ -1549,7 +1538,6 @@ describe('compiler: parse', () => {
15491538
source: 'b'
15501539
}
15511540
},
1552-
rawExp: 'b',
15531541
loc: {
15541542
start: { offset: 5, line: 1, column: 6 },
15551543
end: { offset: 9, line: 1, column: 10 },
@@ -1590,7 +1578,6 @@ describe('compiler: parse', () => {
15901578
source: 'b'
15911579
}
15921580
},
1593-
rawExp: 'b',
15941581
loc: {
15951582
start: { offset: 5, line: 1, column: 6 },
15961583
end: { offset: 15, line: 1, column: 16 },
@@ -1631,7 +1618,6 @@ describe('compiler: parse', () => {
16311618
source: '{ b }'
16321619
}
16331620
},
1634-
rawExp: '{ b }',
16351621
loc: {
16361622
start: { offset: 6, line: 1, column: 7 },
16371623
end: { offset: 16, line: 1, column: 17 },

0 commit comments

Comments
 (0)