@@ -287,7 +287,7 @@ f(arg) = arg
287287 let cst = parse_and_pass ("""
288288 sin(1,2,3)
289289 """ )
290- check_all (cst, StaticLint. LintOptions (),server)
290+ check_all (cst, StaticLint. LintOptions (: ),server)
291291 @test errorof (cst[1 ]) === StaticLint. IncorrectCallArgs
292292 end
293293 let cst = parse_and_pass ("""
@@ -296,7 +296,7 @@ f(arg) = arg
296296 for i in 1 end
297297 for i in 1:1 end
298298 """ )
299- check_all (cst, StaticLint. LintOptions (),server)
299+ check_all (cst, StaticLint. LintOptions (: ),server)
300300 @test errorof (cst[1 ][2 ]) === StaticLint. IncorrectIterSpec
301301 @test errorof (cst[2 ][2 ]) === StaticLint. IncorrectIterSpec
302302 @test errorof (cst[3 ][2 ]) === StaticLint. IncorrectIterSpec
@@ -309,15 +309,15 @@ f(arg) = arg
309309 [i for i in 1 end]
310310 [i for i in 1:1 end]
311311 """ )
312- check_all (cst, StaticLint. LintOptions (),server)
312+ check_all (cst, StaticLint. LintOptions (: ),server)
313313 @test errorof (cst[1 ][2 ][3 ]) === StaticLint. IncorrectIterSpec
314314 @test errorof (cst[2 ][2 ][3 ]) === StaticLint. IncorrectIterSpec
315315 @test errorof (cst[3 ][2 ][3 ]) === StaticLint. IncorrectIterSpec
316316 @test errorof (cst[4 ][2 ][3 ]) === nothing
317317 end
318318
319319 let cst = parse_and_pass (" a == nothing" )
320- check_all (cst, StaticLint. LintOptions (),server)
320+ check_all (cst, StaticLint. LintOptions (: ),server)
321321 @test errorof (cst[1 ][2 ]) === StaticLint. NothingEquality
322322 end
323323
406406 f() where {T,S}
407407 f() where {T<:Any}
408408 """ )
409- StaticLint. check_all (cst, StaticLint. LintOptions (), server)
409+ StaticLint. check_all (cst, StaticLint. LintOptions (: ), server)
410410 @test StaticLint. errorof (cst[1 ][3 ]) == StaticLint. UnusedTypeParameter
411411 @test StaticLint. errorof (cst[2 ][4 ]) == StaticLint. UnusedTypeParameter
412412 @test StaticLint. errorof (cst[2 ][6 ]) == StaticLint. UnusedTypeParameter
417417 f(x::T,y::S) where {T,S}
418418 f(x::T) where {T<:Any}
419419 """ )
420- StaticLint. check_all (cst, StaticLint. LintOptions (), server)
420+ StaticLint. check_all (cst, StaticLint. LintOptions (: ), server)
421421 @test ! StaticLint. haserror (cst[1 ][3 ])
422422 @test ! StaticLint. haserror (cst[2 ][4 ])
423423 @test ! StaticLint. haserror (cst[2 ][6 ])
0 commit comments