Skip to content

Commit

Permalink
Fix tests - Closes go-gota#122
Browse files Browse the repository at this point in the history
  • Loading branch information
julienrbrt committed Nov 19, 2020
1 parent ce6446f commit b91da65
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions dataframe/dataframe_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -849,7 +849,7 @@ func TestDataFrame_Filter_And(t *testing.T) {
expDf DataFrame
}{
{
[]F{{"COL.2", series.GreaterEq, 4}},
[]F{{Colname: "COL.2", Comparator: series.GreaterEq, Comparando: 4}},
New(
series.New([]string{"b", "c", "d"}, series.String, "COL.1"),
series.New([]int{4, 5, 4}, series.Int, "COL.2"),
Expand All @@ -859,8 +859,8 @@ func TestDataFrame_Filter_And(t *testing.T) {
// should not have any rows
{
[]F{
{"COL.2", series.Greater, 4},
{"COL.2", series.Eq, 1},
{Colname: "COL.2", Comparator: series.Greater, Comparando: 4},
{Colname: "COL.2", Comparator: series.Eq, Comparando: 1},
},
New(
series.New([]string{}, series.String, "COL.1"),
Expand All @@ -870,8 +870,8 @@ func TestDataFrame_Filter_And(t *testing.T) {
},
{
[]F{
{"COL.2", series.Less, 4},
{"COL.1", series.Eq, "b"},
{Colname: "COL.2", Comparator: series.Less, Comparando: 4},
{Colname: "COL.1", Comparator: series.Eq, Comparando: "b"},
},
New(
series.New([]string{"b"}, series.String, "COL.1"),
Expand Down

0 comments on commit b91da65

Please sign in to comment.