Skip to content

Commit a8df7ae

Browse files
authored
Merge pull request #18 from JuliaPluto/fix-1.6-tests
Fix julia 1.6 tests
2 parents 1476500 + 29bac34 commit a8df7ae

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

test/runtests.jl

+7-8
Original file line numberDiff line numberDiff line change
@@ -60,13 +60,12 @@ end
6060
end
6161
end
6262

63-
@testset "FieldCompletion" begin
64-
skip = VERSION v"1.11.0-DEV"
65-
@test "offset" in comps("split(\"\", ' ')[1].") skip = skip
66-
@test "offset" in comps("split(\"\", ' ')[1].offset") skip = skip
67-
@test "offset" in comps("split(\"\", ' ')[1].offsett") skip = skip
68-
@test "offset" in comps("split(\"\", ' ')[1].ofst") skip = skip
69-
@test "offset" in comps("split(\"\", ' ')[1].") skip = skip
63+
VERSION < v"1.11.0-DEV" && @testset "FieldCompletion" begin
64+
@test "offset" in comps("split(\"\", ' ')[1].")
65+
@test "offset" in comps("split(\"\", ' ')[1].offset")
66+
@test "offset" in comps("split(\"\", ' ')[1].offsett")
67+
@test "offset" in comps("split(\"\", ' ')[1].ofst")
68+
@test "offset" in comps("split(\"\", ' ')[1].")
7069
end
7170

7271
@testset "BalashCompletion" begin
@@ -99,7 +98,7 @@ end
9998
@test comp("Mis") == "Missing"
10099
end
101100

102-
@testset "inferrability" begin
101+
VERSION >= v"1.7" && @testset "inferrability" begin
103102
@inferred FuzzyCompletions.completions("foo", lastindex("foo"), @__MODULE__)
104103
end
105104

0 commit comments

Comments
 (0)