Skip to content

Commit

Permalink
fix Julia < 1.4 test failure
Browse files Browse the repository at this point in the history
  • Loading branch information
johnnychen94 committed Aug 1, 2020
1 parent 224ac3b commit 1d77c05
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions test/testutils.jl
Expand Up @@ -17,5 +17,10 @@ function string_check(ref, actual)
actual = replace(actual, p)
ref = replace(ref, p)
end

# Julia v1.4
ref = join(map(strip, split(ref, "\n")), "\n")
actual = join(map(strip, split(actual, "\n")), "\n")

isequal(ref, actual)
end

0 comments on commit 1d77c05

Please sign in to comment.