Skip to content

Commit

Permalink
Fix failing 0.6 tests
Browse files Browse the repository at this point in the history
  • Loading branch information
quinnj committed Sep 8, 2017
1 parent 0f11789 commit ba396e6
Showing 1 changed file with 44 additions and 1 deletion.
45 changes: 44 additions & 1 deletion test/utils.jl
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,50 @@ module TestUtils
CategoricalArray{Union{Int, Null}}(4:7)],
[:arr, :nullarr, :cat, :nullcat])
describe(io, df)
@test String(take!(io)) ==
# Julia 0.7
nullfirst =
"""
arr
Summary Stats:
Mean: 2.500000
Minimum: 1.000000
1st Quartile: 1.750000
Median: 2.500000
3rd Quartile: 3.250000
Maximum: 4.000000
Length: 4
Type: $Int
nullarr
Summary Stats:
Mean: 3.500000
Minimum: 2.000000
1st Quartile: 2.750000
Median: 3.500000
3rd Quartile: 4.250000
Maximum: 5.000000
Length: 4
Type: Union{Nulls.Null, $Int}
Number Missing: 0
% Missing: 0.000000
cat
Summary Stats:
Length: 4
Type: CategoricalArrays.CategoricalValue{$Int,$(CategoricalArrays.DefaultRefType)}
Number Unique: 4
nullcat
Summary Stats:
Length: 4
Type: Union{Nulls.Null, CategoricalArrays.CategoricalValue{$Int,$(CategoricalArrays.DefaultRefType)}}
Number Unique: 4
Number Missing: 0
% Missing: 0.000000
"""
# Julia 0.6
nullsecond =
"""
arr
Summary Stats:
Expand Down

0 comments on commit ba396e6

Please sign in to comment.