Skip to content

Commit cddc197

Browse files
committed
fixup! Tests for numeric constants and dots
1 parent 3994395 commit cddc197

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

test/tokenize.jl

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -871,12 +871,17 @@ end
871871
raw"^ ↑ ↓ ⇵ ⟰ ⟱ ⤈ ⤉ ⤊ ⤋ ⤒ ⤓ ⥉ ⥌ ⥍ ⥏ ⥑ ⥔ ⥕ ⥘ ⥙ ⥜ ⥝ ⥠ ⥡ ⥣ ⥥ ⥮ ⥯ ↑ ↓"
872872
raw"::"
873873
raw"."
874-
"⫪ ⫫"
875-
"\u00b7 \u0387"
876874
]
877875
if VERSION >= v"1.6.0"
878876
push!(ops, raw"<-- <-->")
879877
end
878+
if VERSION >= v"1.7.0"
879+
append!(ops, [
880+
""
881+
"\u00b7 \u0387"
882+
"⫪ ⫫"
883+
])
884+
end
880885
allops = split(join(ops, " "), " ")
881886
@test all(s->Base.isoperator(Symbol(s)) == is_operator(first(collect(tokenize(s))).kind), allops)
882887
end

0 commit comments

Comments
 (0)