mirror of
https://github.com/cozystack/cozystack.git
synced 2026-11-30 04:06:34 +09:00
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:
1 parent
0d31c8b5d4
commit
62e1379c45
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