2
0
mirror of https://github.com/KDE/kdeconnect-android synced 2025-08-29 05:07:40 +00:00

Simplify asserts

This commit is contained in:
Nicolas Fella 2018-10-26 23:11:47 +02:00
parent 74d2b2e828
commit 2d0b97d252

View File

@ -57,8 +57,8 @@ public class NetworkPacketTest extends AndroidTestCase {
np2 = NetworkPacket.unserialize(json);
assertEquals(np2.getId(), 123);
assertTrue(np2.getBoolean("testing"));
assertEquals(np2.getBoolean("not_testing"), false);
assertEquals(np2.getBoolean("not_testing", true), true);
assertFalse(np2.getBoolean("not_testing"));
assertTrue(np2.getBoolean("not_testing", true));
}