Minor fix.

git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2448 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
Gaston Dombiak 2005-01-12 03:03:32 +00:00 committed by gaston
parent 069a3d4d16
commit a457af11fb
1 changed files with 2 additions and 2 deletions

View File

@ -91,8 +91,8 @@ public class PacketReaderTest extends SmackTestCase {
if (response == null) {
fail("No response from the other user.");
}
assertEquals("The received IQ is not of type ERROR", response.getType(),IQ.Type.ERROR);
assertEquals("The error code is not 501", response.getError().getCode(),501);
assertEquals("The received IQ is not of type ERROR", IQ.Type.ERROR, response.getType());
assertEquals("The error code is not 501", 501, response.getError().getCode());
collector.cancel();
}