1

build: upgrade AssertJ

This commit is contained in:
2026-04-16 00:30:27 +03:00
parent 97f36cb809
commit 8f476300c2
2 changed files with 3 additions and 3 deletions

View File

@@ -42,7 +42,7 @@ class FluentStreamTest {
assertThatNoException().isThrownBy(ps2::expectLineEnd);
var ps3 = new FluentStream(" ");
ParseException catchException = catchThrowableOfType(ps3::expectLineEnd, ParseException.class);
ParseException catchException = catchThrowableOfType(ParseException.class, ps3::expectLineEnd);
assertThat(catchException.getCode()).isEqualTo(E0003);
}
@@ -50,7 +50,7 @@ class FluentStreamTest {
void testExpectChar() {
var ps = new FluentStream("z");
assertThatNoException().isThrownBy(() -> ps.expectChar('z'));
ParseException catchException = catchThrowableOfType(() -> ps.expectChar('a'), ParseException.class);
ParseException catchException = catchThrowableOfType(ParseException.class, () -> ps.expectChar('a'));
assertThat(catchException.getCode()).isEqualTo(E0003);
}