Copilot commented on code in PR #2811:
URL: https://github.com/apache/kvrocks/pull/2811#discussion_r1974689734


##########
tests/gocase/unit/type/tdigest/tdigest_test.go:
##########
@@ -36,6 +36,7 @@ const (
        errMsgMustInRange      = "compression must be between 1 and 1000"
        errMsgKeyAlreadyExists = "key already exists"
        errMsgKeyNotExist      = "key does not exist"
+       errValueIsNotExists    = "there is no value in key"

Review Comment:
   [nitpick] The error constant 'errValueIsNotExists' and its message contain 
grammatical issues. Consider renaming it to 'errValueDoesNotExist' and updating 
the message to 'no value exists for key' for clarity.
   ```suggestion
        errValueDoesNotExist   = "no value exists for key"
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to