Skip to content

Commit

Permalink
Fix typo in test
Browse files Browse the repository at this point in the history
  • Loading branch information
ScottPJones committed Jan 30, 2017
1 parent 498a7fe commit f97ed47
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ end
@testset "matches" begin
@test isempty(HE.matches(""))
@test isempty(HE.matches("\u201f"))
@test isempty(EE.matches(SubString("This is \u201f", 9)))
@test isempty(HE.matches(SubString("This is \u201f", 9)))
for (chrs, exp) in (("\u2270", ["nle", "nleq"]),
("\U1d4ab", ["Pscr"]),
("\U1d51e", ["afr"]),
Expand All @@ -31,7 +31,7 @@ end

@testset "longestmatches" begin
@test isempty(HE.longestmatches("\u201f abcd"))
@test isempty(EE.longestmatches(SubString("This is \U201f abcd", 9)))
@test isempty(HE.longestmatches(SubString("This is \U201f abcd", 9)))
for (chrs, exp) in (("\u2270 abcd", ["nle", "nleq"]),
("\U1d4ab abcd", ["Pscr"]),
("\u2268\ufe00 silly", ["lvertneqq", "lvnE"]))
Expand All @@ -43,7 +43,7 @@ end

@testset "completions" begin
@test isempty(HE.completions("ScottPaulJones"))
@test isempty(EE.completions(SubString("My name is Scott", 12)))
@test isempty(HE.completions(SubString("My name is Scott", 12)))
for (chrs, exp) in (("and", ["and", "andand", "andd", "andslope", "andv"]),
("um", ["umacr", "uml"]))
res = HE.completions(chrs)
Expand Down

0 comments on commit f97ed47

Please sign in to comment.