File tree 1 file changed +26
-0
lines changed
1 file changed +26
-0
lines changed Original file line number Diff line number Diff line change @@ -2524,10 +2524,36 @@ let s = "using .CompletionFoo: bar, type_"
2524
2524
end
2525
2525
2526
2526
# #55518
2527
+ let s = " CompletionFoo.@barfoo nothi"
2528
+ c, r = test_complete (s)
2529
+ @test " nothing" in c
2530
+ @test r == 23 : 27
2531
+ end
2527
2532
let s = " CompletionFoo.@barfoo kwtest"
2528
2533
c, r = test_complete (s)
2529
2534
@test isempty (c)
2530
2535
end
2536
+ let s = " CompletionFoo.kwtest(x=type"
2537
+ c, r = test_complete (s)
2538
+ @test " typeof" in c
2539
+ @test ! (" type_test" in c)
2540
+ @test r == 24 : 27
2541
+ end
2542
+ let s = " CompletionFoo.bar; nothi"
2543
+ c, r = test_complete (s)
2544
+ @test " nothing" in c
2545
+ @test r == 20 : 24
2546
+ end
2547
+ let s = " CompletionFoo.bar; @ti"
2548
+ c, r = test_complete (s)
2549
+ @test " @time" in c
2550
+ @test r == 20 : 22
2551
+ end
2552
+ let s = " x = sin.([1]); y = ex"
2553
+ c, r = test_complete (s)
2554
+ @test " exp" in c
2555
+ @test r == 20 : 21
2556
+ end
2531
2557
2532
2558
# #57611
2533
2559
let s = " x = Base.BinaryPlatforms.ar"
You can’t perform that action at this time.
0 commit comments