Mercurial > hgrepos > FreeBSD > ports > sysutils > local-bsdtools
diff tests/farray-alist.t @ 724:3adb26525b19
farray.sh: Changed token value prefix: replace the last underscore "_" by a colon ":"
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Sun, 06 Oct 2024 05:45:29 +0200 |
| parents | a97ec3f07bdb |
| children | 23f6d2993fa2 |
line wrap: on
line diff
--- a/tests/farray-alist.t Sat Oct 05 21:55:55 2024 +0200 +++ b/tests/farray-alist.t Sun Oct 06 05:45:29 2024 +0200 @@ -174,9 +174,9 @@ ITERATE (for each, by value) $ falist_for_each "$LIST" $'printf "EACH: %s key \\`%s\\\', value \\`%s\\\' at idx %d\\n"' # ` - EACH: _farr_KV\?\?_[a-f0-9]+ key `K1', value `V1' at idx 1 (re) - EACH: _farr_KV\?\?_[a-f0-9]+ key `K2', value `V2 2' at idx 2 (re) - EACH: _farr_KV\?\?_[a-f0-9]+ key `K3', value `" 111222333" \\'444555 ' at idx 3 (re) + EACH: _farr_KV\?\?:[a-f0-9]+ key `K1', value `V1' at idx 1 (re) + EACH: _farr_KV\?\?:[a-f0-9]+ key `K2', value `V2 2' at idx 2 (re) + EACH: _farr_KV\?\?:[a-f0-9]+ key `K3', value `" 111222333" \\'444555 ' at idx 3 (re) $ falist_clear LIST $ falist_destroy LIST @@ -423,7 +423,7 @@ $ _farr_destroy_object "$LIST" $ check_no_alist_artifacts $ (_farr_destroy_object "$LIST") - ERROR: falist `_farr_KV\?\?_([a-f0-9]+)' not created properly: no object for token `\1' (re) + ERROR: falist `_farr_KV\?\?:([a-f0-9]+)' not created properly: no object for token `\1' (re) [70] $ LIST='' $ _farr_destroy_object "$LIST"
