Skip to content

Commit e3be421

Browse files
committed
[#noissue] Cleanup
1 parent 9c72931 commit e3be421

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bootstraps/bootstrap-core/src/test/java/com/navercorp/pinpoint/bootstrap/instrument/matcher/LambdaExpressionMatcherTest.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,12 @@ public void getMatcherOperandWithBaseClassNameIsNull() {
3737
public void getMatcherOperandWithBaseClassNameIsEmpty() {
3838
assertThatThrownBy(() -> {
3939
LambdaExpressionMatcher lambdaExpressionMatcher = new LambdaExpressionMatcher("", "java.util.function.Function");
40-
}).isInstanceOf(NullPointerException.class);
40+
}).isInstanceOf(IllegalArgumentException.class);
4141
}
4242

4343
@Test
4444
public void getMatcherOperandWithFunctionalInterfaceNameIsNull() {
45-
Assertions.assertThrows(IllegalArgumentException.class, () -> {
45+
Assertions.assertThrows(NullPointerException.class, () -> {
4646
LambdaExpressionMatcher lambdaExpressionMatcher = new LambdaExpressionMatcher("java.lang.Runnable", null);
4747
});
4848
}

0 commit comments

Comments
 (0)