falcon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ajay Yadav (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (FALCON-904) Fix order of actual and expected expressions
Date Wed, 19 Nov 2014 07:44:33 GMT

     [ https://issues.apache.org/jira/browse/FALCON-904?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Ajay Yadav updated FALCON-904:
------------------------------
    Description: 
In Assert statements like assertEquals, actual expression should be first and expected expression
should be second argument. In several files we have it other way round. 

Impact of this is:
When the test fails the error message will say something like:
Expected -1 but was 0


> Fix order of actual and expected expressions
> --------------------------------------------
>
>                 Key: FALCON-904
>                 URL: https://issues.apache.org/jira/browse/FALCON-904
>             Project: Falcon
>          Issue Type: Improvement
>            Reporter: Ajay Yadav
>
> In Assert statements like assertEquals, actual expression should be first and expected
expression should be second argument. In several files we have it other way round. 
> Impact of this is:
> When the test fails the error message will say something like:
> Expected -1 but was 0



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message