File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -194,7 +194,7 @@ function error_test() {
194
194
{
195
195
client : client_unix ,
196
196
send : '(function(a, a, b) { "use strict"; return a + b + c; })()' ,
197
- expect : / \b S y n t a x E r r o r : D u p l i c a t e p a r a m e t e r n a m e n o t a l l o w e d i n t h i s c o n t e x t / // eslint-disable-line max-len
197
+ expect : / \b S y n t a x E r r o r : D u p l i c a t e p a r a m e t e r n a m e n o t a l l o w e d i n t h i s c o n t e x t /
198
198
} ,
199
199
{
200
200
client : client_unix ,
@@ -204,15 +204,15 @@ function error_test() {
204
204
{
205
205
client : client_unix ,
206
206
send : '(function() { "use strict"; var x; delete x; })()' ,
207
- expect : / \b S y n t a x E r r o r : D e l e t e o f a n u n q u a l i f i e d i d e n t i f i e r i n s t r i c t m o d e / // eslint-disable-line max-len
207
+ expect : / \b S y n t a x E r r o r : D e l e t e o f a n u n q u a l i f i e d i d e n t i f i e r i n s t r i c t m o d e /
208
208
} ,
209
209
{ client : client_unix ,
210
210
send : '(function() { "use strict"; eval = 17; })()' ,
211
211
expect : / \b S y n t a x E r r o r : U n e x p e c t e d e v a l o r a r g u m e n t s i n s t r i c t m o d e / } ,
212
212
{
213
213
client : client_unix ,
214
214
send : '(function() { "use strict"; if (true) function f() { } })()' ,
215
- expect : / \b S y n t a x E r r o r : I n s t r i c t m o d e c o d e , f u n c t i o n s c a n o n l y b e d e c l a r e d a t t o p l e v e l o r i n s i d e a b l o c k \. / // eslint-disable-line max-len
215
+ expect : / \b S y n t a x E r r o r : I n s t r i c t m o d e c o d e , f u n c t i o n s c a n o n l y b e d e c l a r e d a t t o p l e v e l o r i n s i d e a b l o c k \. /
216
216
} ,
217
217
// Named functions can be used:
218
218
{ client : client_unix , send : 'function blah() { return 1; }' ,
You can’t perform that action at this time.
0 commit comments