mirror of
https://github.com/KDE/kdeconnect-android
synced 2025-08-29 05:07:40 +00:00
Simplify asserts
This commit is contained in:
parent
74d2b2e828
commit
2d0b97d252
@ -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));
|
||||
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user