docs(tests): document negative file assertion contract

Signed-off-by: Ahmed Kamal <email.ahmedkamal@googlemail.com>
Assisted-by: LLM
This commit is contained in:
Ahmed Kamal committed 2026-11-01 02:18:13 +02:00
1 parent e6651ce222
commit 21fe9d4195
1 file changed
+2
+2
View File
@@ -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"