mirror of
https://github.com/affaan-m/everything-claude-code.git
synced 2026-06-14 04:01:30 +08:00
fix: align Turkish TDD test to expect NullPointerException
Objects.requireNonNull throws NullPointerException, not IllegalArgumentException. The English source was correct; the Turkish translation had the wrong exception type.
This commit is contained in:
@@ -442,8 +442,8 @@ class EventServiceTest {
|
|||||||
Object nullPayload = null;
|
Object nullPayload = null;
|
||||||
|
|
||||||
// ACT & ASSERT
|
// ACT & ASSERT
|
||||||
IllegalArgumentException exception = assertThrows(
|
NullPointerException exception = assertThrows(
|
||||||
IllegalArgumentException.class,
|
NullPointerException.class,
|
||||||
() -> eventService.createSuccessEvent(nullPayload, "EVENT_TYPE")
|
() -> eventService.createSuccessEvent(nullPayload, "EVENT_TYPE")
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user