mirror of
https://github.com/affaan-m/everything-claude-code.git
synced 2026-06-10 10:13:49 +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;
|
||||
|
||||
// ACT & ASSERT
|
||||
IllegalArgumentException exception = assertThrows(
|
||||
IllegalArgumentException.class,
|
||||
NullPointerException exception = assertThrows(
|
||||
NullPointerException.class,
|
||||
() -> eventService.createSuccessEvent(nullPayload, "EVENT_TYPE")
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user