mirror of
https://github.com/cozystack/cozystack.git
synced 2026-11-21 12:13:55 +09:00
docs(tests): document negative file assertion contract
Signed-off-by: Ahmed Kamal <email.ahmedkamal@googlemail.com> Assisted-by: LLM
This commit is contained in:
1 parent
e6651ce222
commit
21fe9d4195
1 file changed
+2
@@ -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"
|
||||
|
||||
Reference in new issue
Block a user