Skip to content

Commit ef269dc

Browse files
committed
add comment for test
1 parent 752bffb commit ef269dc

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

schema/arrow_test.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,7 @@ func TestCQIDHashingConsistency(t *testing.T) {
171171
cqIDFields := got.Schema().FieldIndices(CqIDColumn.Name)
172172
require.Len(t, cqIDFields, 1)
173173
// we are now using an internal version of the official SHA1 module
174-
// d8f3b1de-8c63-5a0e-a1aa-19e9b5311c24 is the expected hash value from the official SHA1 module that we expect in our implementation
174+
// this test ensures that our implementation produces the same hash value as the official one
175+
// d8f3b1de-8c63-5a0e-a1aa-19e9b5311c24 is the hash value from the official implementation
175176
assert.Equal(t, "d8f3b1de-8c63-5a0e-a1aa-19e9b5311c24", got.Column(cqIDFields[0]).ValueStr(0))
176177
}

0 commit comments

Comments
 (0)