diff --git a/test/statmodels.jl b/test/statmodels.jl index 6e940af7c..b14d7af40 100644 --- a/test/statmodels.jl +++ b/test/statmodels.jl @@ -84,9 +84,9 @@ ct = CoefTable(m, ["Estimate", "Stderror", "df", "p"], [], 4) ct = CoefTable(rand(1,100), ["c$i" for i in 1:100], [], 4) sct = sprint(show, ct, context=:limit=>false) -@test length(first(split(sct, \'n'))) > 1000 +@test length(first(split(sct, '\n'))) > 900 sct = sprint(show, ct, context=:limit=>true) -@test length(first(split(sct, \'n'))) < 200 +@test length(first(split(sct, '\n'))) < 200 @test sprint(show, PValue(1.0)) == "1.0000" @test sprint(show, PValue(1e-1)) == "0.1000"