Skip to content

Commit

Permalink
update all tests for !=
Browse files Browse the repository at this point in the history
  • Loading branch information
tonyhb committed Nov 6, 2024
1 parent a3e3e65 commit a7516f1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions expr_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -810,8 +810,8 @@ func TestAddRemove(t *testing.T) {
require.Equal(t, ok, float64(1))
require.Equal(t, 1, e.Len())
require.Equal(t, 0, e.SlowLen())
require.Equal(t, 0, e.FastLen())
require.Equal(t, 1, e.MixedLen())
require.Equal(t, 1, e.FastLen())
require.Equal(t, 0, e.MixedLen())

// Matching this expr should now fail.
eval, count, err := e.Evaluate(ctx, map[string]any{
Expand All @@ -837,7 +837,7 @@ func TestAddRemove(t *testing.T) {
},
})

require.EqualValues(t, 1, count)
require.EqualValues(t, 0, count)
require.EqualValues(t, 0, len(eval))
require.NoError(t, err)
})
Expand Down

0 comments on commit a7516f1

Please sign in to comment.