From e36a0df301a34a8680e3b82fed2889c768fd34e4 Mon Sep 17 00:00:00 2001
From: neil_a_wilson <neil_a_wilson@localhost>
Date: Wed, 13 Sep 2006 21:45:10 +0000
Subject: [PATCH] Update a number of test cases to put the assertEquals arguments in the correct order (with the expected value second rather than first).

---
 opends/tests/unit-tests-testng/src/server/org/opends/server/protocols/asn1/TestASN1Exception.java |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/opends/tests/unit-tests-testng/src/server/org/opends/server/protocols/asn1/TestASN1Exception.java b/opends/tests/unit-tests-testng/src/server/org/opends/server/protocols/asn1/TestASN1Exception.java
index f2933ff..c27033e 100644
--- a/opends/tests/unit-tests-testng/src/server/org/opends/server/protocols/asn1/TestASN1Exception.java
+++ b/opends/tests/unit-tests-testng/src/server/org/opends/server/protocols/asn1/TestASN1Exception.java
@@ -73,7 +73,7 @@
     for (int i=0; i < 100; i++)
     {
       ASN1Exception e = new ASN1Exception(i, "Test");
-      assertEquals(i, e.getMessageID());
+      assertEquals(e.getMessageID(), i);
     }
   }
 }

--
Gitblit v1.10.0