Skip to content

Commit a24f812

Browse files
PropertyQueryTest: drop assert on long overflow exception.
1 parent 45d4695 commit a24f812

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/objectbox-java-test/src/test/java/io/objectbox/query/PropertyQueryTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -645,7 +645,7 @@ public void sum_longOverflow_exception() {
645645
putTestEntityInteger((byte) 0, (short) 0, 0, Long.MAX_VALUE);
646646
putTestEntityInteger((byte) 0, (short) 0, 0, 1);
647647

648-
assertEquals(Long.MAX_VALUE, box.query().build().property(simpleLong).sum());
648+
box.query().build().property(simpleLong).sum();
649649
}
650650

651651
@Test

0 commit comments

Comments
 (0)