Trim _testmark_handle's doc: why a handle must be valid is the storage comment's to say.
commit 736f5b0b6e273b1fbb36b20d132a53923b38cf5a · parent d29c0383dc
· browse this tree
Ximianth, 2026-10-23 14:49:32 UTC
diff --git a/lib/testmark/document.bash b/lib/testmark/document.bash index 6f6e80f..d6f8899 100644 --- a/lib/testmark/document.bash +++ b/lib/testmark/document.bash @@ -18,7 +18,7 @@ _testmark_err() { >&2 printf 'testmark: %s\n' "$1" } -## Fails with a message unless $1 is a valid handle, and so safe to use in a variable name. +## Fails with a message unless $1 is a valid handle. _testmark_handle() { [[ $1 =~ ^[A-Za-z0-9_]+$ ]] || { _testmark_err "invalid handle \"$1\": must match [A-Za-z0-9_]+"