Use upper case L on long declarations

This commit is contained in:
aherbert 2020-06-18 11:46:51 +01:00
parent 46acdde8bd
commit abf6899e07
1 changed files with 2 additions and 2 deletions

View File

@ -889,8 +889,8 @@ public class FailableFunctionsTest {
public void testLongPredicate() throws Throwable {
FailureOnOddInvocations.invocations = 0;
final FailableLongPredicate<Throwable> failablePredicate = t1 -> FailureOnOddInvocations.testLong(t1);
assertThrows(SomeException.class, () -> failablePredicate.test(1l));
failablePredicate.test(1l);
assertThrows(SomeException.class, () -> failablePredicate.test(1L));
failablePredicate.test(1L);
}
@Test