From 21fe9d4195848d992fdcb1d67f03a263d1fc716b Mon Sep 17 00:00:00 2001 From: Ahmed Kamal Date: Sun, 1 Nov 2026 02:18:13 +0200 Subject: [PATCH] docs(tests): document negative file assertion contract Signed-off-by: Ahmed Kamal Assisted-by: LLM --- hack/test_helper.bash | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hack/test_helper.bash b/hack/test_helper.bash index 592676b8c..bbbef8de8 100644 --- a/hack/test_helper.bash +++ b/hack/test_helper.bash @@ -10,6 +10,8 @@ setup() { strict_setup } +# Only a successful matcher explicitly reporting no match passes; missing, +# non-regular or unreadable files and matcher errors fail closed. assert_file_lacks_pattern() { local pattern="$1" local file="$2"