From 11cc20bbcfdb611ff1575a4b570dbc4bc1c2d85d Mon Sep 17 00:00:00 2001 From: AlexisLeDain Date: Mon, 13 Apr 2026 14:55:12 +0200 Subject: [PATCH] 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. --- docs/tr/skills/quarkus-tdd/SKILL.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/tr/skills/quarkus-tdd/SKILL.md b/docs/tr/skills/quarkus-tdd/SKILL.md index c9def11a..5ca100fd 100644 --- a/docs/tr/skills/quarkus-tdd/SKILL.md +++ b/docs/tr/skills/quarkus-tdd/SKILL.md @@ -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") );