Skip to content

Commit 7e70a75

Browse files
committed
Make vue/func-call-spacing tests more strict
1 parent 21b0fb5 commit 7e70a75

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
lines changed

tests/lib/rules/func-call-spacing.js

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,10 @@ tester.run('func-call-spacing', rule, {
6161
errors: [
6262
{
6363
message: 'Unexpected whitespace between function name and paren.',
64-
line: 3
64+
line: 3,
65+
column: 23,
66+
endLine: 3,
67+
endColumn: 24
6568
}
6669
]
6770
},
@@ -80,7 +83,10 @@ tester.run('func-call-spacing', rule, {
8083
errors: [
8184
{
8285
message: 'Missing space between function name and paren.',
83-
line: 3
86+
line: 3,
87+
column: 23,
88+
endLine: 3,
89+
endColumn: 23
8490
}
8591
]
8692
},
@@ -102,7 +108,10 @@ tester.run('func-call-spacing', rule, {
102108
errors: [
103109
{
104110
message: 'Unexpected whitespace between function name and paren.',
105-
line: 4
111+
line: 4,
112+
column: 27,
113+
endLine: 4,
114+
endColumn: 28
106115
}
107116
]
108117
}

0 commit comments

Comments
 (0)