pkuwm opened a new issue #663: assertNotSame is not used accurately in unit 
tests
URL: https://github.com/apache/helix/issues/663
 
 
   `assertNotSame` checks two objects don't refer to the same object. But when 
we would like to check if two objects are equaled or not, `assertNotSame` is 
not a correct option to use. If we use `assertNotSame` to check if 2 objects 
have the same value, ``assertNotSame` would always pass, even the 2 objects 
have different values.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

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

Reply via email to