You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "Gabriel Reid (JIRA)" <ji...@apache.org> on 2014/03/16 08:19:35 UTC
[jira] [Resolved] (PHOENIX-216) use assertArrayEquals(expected,
actual) instead of assertTrue(Bytes.compareTo(actual, expected) == 0)
[ https://issues.apache.org/jira/browse/PHOENIX-216?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gabriel Reid resolved PHOENIX-216.
----------------------------------
Resolution: Fixed
Bulk resolve of closed issues imported from GitHub. This status was reached by first re-opening all closed imported issues and then resolving them in bulk.
> use assertArrayEquals(expected, actual) instead of assertTrue(Bytes.compareTo(actual, expected) == 0)
> -----------------------------------------------------------------------------------------------------
>
> Key: PHOENIX-216
> URL: https://issues.apache.org/jira/browse/PHOENIX-216
> Project: Phoenix
> Issue Type: Task
> Reporter: ryang-sfdc
>
> I did the change using regex search and replace, and tests pass.
> My hope is that tests will be easier to read, assuming you weren't calling Bytes.compareTo for some special magic.
--
This message was sent by Atlassian JIRA
(v6.2#6252)