Return-Path: X-Original-To: apmail-falcon-dev-archive@minotaur.apache.org Delivered-To: apmail-falcon-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 20F6F1778A for ; Wed, 15 Oct 2014 06:02:59 +0000 (UTC) Received: (qmail 92378 invoked by uid 500); 15 Oct 2014 06:02:58 -0000 Delivered-To: apmail-falcon-dev-archive@falcon.apache.org Received: (qmail 92336 invoked by uid 500); 15 Oct 2014 06:02:58 -0000 Mailing-List: contact dev-help@falcon.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@falcon.incubator.apache.org Delivered-To: mailing list dev@falcon.incubator.apache.org Received: (qmail 92325 invoked by uid 99); 15 Oct 2014 06:02:58 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Oct 2014 06:02:58 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO mail.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 15 Oct 2014 06:02:36 +0000 Received: (qmail 91473 invoked by uid 99); 15 Oct 2014 06:02:34 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Oct 2014 06:02:34 +0000 Date: Wed, 15 Oct 2014 06:02:34 +0000 (UTC) From: "Ajay Yadav (JIRA)" To: dev@falcon.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (FALCON-807) Fix order of actual and expected expression in assert statements. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org Ajay Yadav created FALCON-807: --------------------------------- Summary: Fix order of actual and expected expression in assert statements. Key: FALCON-807 URL: https://issues.apache.org/jira/browse/FALCON-807 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 certain files e.g. FalconCLIIT.java 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)