From 7b1ab38f86b9f811ee9281eed7a289ca976d9fdc Mon Sep 17 00:00:00 2001 From: Milan Bouchet-Valat Date: Thu, 26 Dec 2019 22:13:58 +0100 Subject: [PATCH] Make grouping.jl test pass when using include (#2068) --- test/grouping.jl | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/test/grouping.jl b/test/grouping.jl index d28f4550a6..9b3c5cddd6 100644 --- a/test/grouping.jl +++ b/test/grouping.jl @@ -1063,7 +1063,7 @@ end show(io, gd) str = String(take!(io.io)) @test str == """ - GroupedDataFrame with 4 groups based on key: A + $GroupedDataFrame with 4 groups based on key: A First Group (1 row): A = 1 │ Row │ A │ B │ C │ │ │ Int64 │ String │ Float32 │ @@ -1078,7 +1078,7 @@ end show(io, gd, allgroups=true) str = String(take!(io.io)) @test str == """ - GroupedDataFrame with 4 groups based on key: A + $GroupedDataFrame with 4 groups based on key: A Group 1 (1 row): A = 1 │ Row │ A │ B │ C │ │ │ Int64 │ String │ Float32 │ @@ -1111,7 +1111,7 @@ end @test sprint(show, "text/html", gd) == - "

GroupedDataFrame with 4 groups based on key: A

" * + "

$GroupedDataFrame with 4 groups based on key: A

" * "

First Group (1 row): A = 1

" * "" * "" * @@ -1122,7 +1122,7 @@ end "
ABC
Int64StringFloat32
14A\\nC4.0
" @test sprint(show, "text/latex", gd) == """ - GroupedDataFrame with 4 groups based on key: A + $GroupedDataFrame with 4 groups based on key: A First Group (1 row): A = 1 @@ -1149,7 +1149,7 @@ end gd = groupby(DataFrame(a=[Symbol("&")], b=["&"]), [1,2]) @test sprint(show, gd) === """ - GroupedDataFrame with 1 group based on keys: a, b + $GroupedDataFrame with 1 group based on keys: a, b Group 1 (1 row): a = :&, b = "&" │ Row │ a │ b │ │ │ Symbol │ String │ @@ -1157,14 +1157,14 @@ end │ 1 │ & │ & │""" @test sprint(show, "text/html", gd) == - "

GroupedDataFrame with 1 group based on keys: a, b

" * + "

$GroupedDataFrame with 1 group based on keys: a, b

" * "First Group (1 row): a = :&, b = \"&\"

" * "" * "" * "
ab
SymbolString
1&&
" @test sprint(show, "text/latex", gd) == """ - GroupedDataFrame with 1 group based on keys: a, b + $GroupedDataFrame with 1 group based on keys: a, b First Group (1 row): a = :\\&, b = "\\&"