1
0
Fork 0
mirror of https://codeberg.org/Mercury-IM/Smack synced 2024-12-23 13:07:59 +01:00

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

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();
}