docs(tests): document negative file assertion contract

Signed-off-by: Ahmed Kamal <email.ahmedkamal@googlemail.com>
Assisted-by: LLM
(cherry picked from commit 21fe9d4195)
Signed-off-by: cozystack-ci[bot] <274107086+cozystack-ci[bot]@users.noreply.github.com>
This commit is contained in:
Ahmed Kamal authored and Myasnikov Daniil committed 2026-11-25 09:58:11 +00:00
1 parent 0d31c8b5d4
commit 62e1379c45
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"