Skip to content

Commit 75e96ff

Browse files
committed
fix tests
1 parent af43d7d commit 75e96ff

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/loader.spec.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ describe('loader', () => {
6666
expect(err).to.exist;
6767

6868
expect(err.message).to.eql(d`
69-
Expected }}} (1:18)
69+
ParseError: Expected }}} (1:18)
7070
1: <p>Count: {{{count}}</p>
7171
^
7272
2: <button on:click='set({ count: count + 1 })'>+1</button>`
@@ -88,7 +88,7 @@ describe('loader', () => {
8888
expect(err).to.exist;
8989

9090
expect(err.message).to.eql(d`
91-
Unexpected token (5:7)
91+
ParseError: Unexpected token (5:7)
9292
3: <script>
9393
4: export {
9494
5: foo: 'BAR'
@@ -113,7 +113,7 @@ describe('loader', () => {
113113
expect(err).to.exist;
114114

115115
expect(err.message).to.eql(d`
116-
Computed properties can be function expressions or arrow function expressions (6:11)
116+
ValidationError: Computed properties can be function expressions or arrow function expressions (6:11)
117117
4: export default {
118118
5: computed: {
119119
6: foo: 'BAR'

0 commit comments

Comments
 (0)