Return-Path: X-Original-To: apmail-lucenenet-commits-archive@www.apache.org Delivered-To: apmail-lucenenet-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 16A5211AF9 for ; Tue, 5 Aug 2014 00:29:01 +0000 (UTC) Received: (qmail 12288 invoked by uid 500); 5 Aug 2014 00:29:01 -0000 Delivered-To: apmail-lucenenet-commits-archive@lucenenet.apache.org Received: (qmail 12178 invoked by uid 500); 5 Aug 2014 00:29:00 -0000 Mailing-List: contact commits-help@lucenenet.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: lucene-net-dev@lucenenet.apache.org Delivered-To: mailing list commits@lucenenet.apache.org Received: (qmail 11993 invoked by uid 99); 5 Aug 2014 00:29:00 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Aug 2014 00:29:00 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id 85EA0922201; Tue, 5 Aug 2014 00:29:00 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: synhershko@apache.org To: commits@lucenenet.apache.org Date: Tue, 05 Aug 2014 00:29:03 -0000 Message-Id: In-Reply-To: References: X-Mailer: ASF-Git Admin Mailer Subject: [4/4] git commit: Use the correct assertion Use the correct assertion Project: http://git-wip-us.apache.org/repos/asf/lucenenet/repo Commit: http://git-wip-us.apache.org/repos/asf/lucenenet/commit/27cae3f4 Tree: http://git-wip-us.apache.org/repos/asf/lucenenet/tree/27cae3f4 Diff: http://git-wip-us.apache.org/repos/asf/lucenenet/diff/27cae3f4 Branch: refs/heads/branch_4x Commit: 27cae3f46224f4cf8e9f8af59f142536ac2b13db Parents: 27d435b Author: Itamar Syn-Hershko Authored: Tue Aug 5 03:28:31 2014 +0300 Committer: Itamar Syn-Hershko Committed: Tue Aug 5 03:28:31 2014 +0300 ---------------------------------------------------------------------- test/test-framework/JavaCompatibility/LuceneTestCase.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/lucenenet/blob/27cae3f4/test/test-framework/JavaCompatibility/LuceneTestCase.cs ---------------------------------------------------------------------- diff --git a/test/test-framework/JavaCompatibility/LuceneTestCase.cs b/test/test-framework/JavaCompatibility/LuceneTestCase.cs index 57c3818..7441052 100644 --- a/test/test-framework/JavaCompatibility/LuceneTestCase.cs +++ b/test/test-framework/JavaCompatibility/LuceneTestCase.cs @@ -89,8 +89,7 @@ namespace Lucene.Net protected static void assertArrayEquals(IEnumerable a1, IEnumerable a2) { - if (!a1.Equals(a2)) - Fail(); + CollectionAssert.AreEqual(a1, a2); } protected static void fail()