This is an automated email from the ASF dual-hosted git repository.

davsclaus pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/main by this push:
     new ff676e844226 Relax rule as AIs copy existing tests
ff676e844226 is described below

commit ff676e84422684401e543e2f22bd53a5bbf65e1d
Author: Claus Ibsen <[email protected]>
AuthorDate: Fri Jul 24 11:28:30 2026 +0200

    Relax rule as AIs copy existing tests
---
 AGENTS.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/AGENTS.md b/AGENTS.md
index 28368f72e117..c3b78e3b4ae0 100644
--- a/AGENTS.md
+++ b/AGENTS.md
@@ -179,7 +179,7 @@ assertTrue(list.contains("a"));
 
 **Rules:**
 
-- New test code SHOULD use AssertJ assertions (`assertThat(...)`) instead of 
JUnit assertions
+- New test code is preferred to use AssertJ assertions (`assertThat(...)`) 
instead of JUnit assertions
   (`assertEquals`, `assertTrue`, `assertFalse`, `assertNotNull`, etc.).
 - When modifying existing test code that uses JUnit assertions, migrate 
touched assertions to
   AssertJ where it improves readability. No need to migrate the entire file.

Reply via email to