This is an automated email from the ASF dual-hosted git repository.

alsay pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/datasketches-go.git

commit c0bb71e265cbc16ec10b7a59b8c891e25a82cd3e
Author: Pierre Lacave <[email protected]>
AuthorDate: Thu Dec 21 13:54:23 2023 +0100

    fix frequency test following change of visbility of row constructor
---
 frequencies/longs_sketch_test.go | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/frequencies/longs_sketch_test.go b/frequencies/longs_sketch_test.go
index e70d86c..7d5860c 100644
--- a/frequencies/longs_sketch_test.go
+++ b/frequencies/longs_sketch_test.go
@@ -408,10 +408,10 @@ func TestGetFrequentItems1(t *testing.T) {
        assert.Equal(t, row.item, int64(1))
        assert.Equal(t, row.lb, int64(1))
        assert.Equal(t, row.ub, int64(1))
-       newRow := newRow(row.item, row.est+1, row.ub, row.lb)
-       assert.NotEqual(t, row, newRow)
-       newRow = newRow(row.item, row.est, row.ub, row.lb)
-       assert.Equal(t, row, newRow)
+       nRow := newRow(row.item, row.est+1, row.ub, row.lb)
+       assert.NotEqual(t, row, nRow)
+       nRow = newRow(row.item, row.est, row.ub, row.lb)
+       assert.Equal(t, row, nRow)
 
 }
 


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to