Mercurial > hgrepos > FreeBSD > ports > sysutils > local-bsdtools
comparison tests/farray-alist.t @ 605:96366e2075fe
farray.sh: enhance unittests for alists
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Thu, 19 Sep 2024 11:52:42 +0200 |
| parents | 45c47bc1f7d2 |
| children | 0ad7b2120e74 |
comparison
equal
deleted
inserted
replaced
| 604:45c47bc1f7d2 | 605:96366e2075fe |
|---|---|
| 170 $ falist_set LIST 'key 4' 'value 4' | 170 $ falist_set LIST 'key 4' 'value 4' |
| 171 $ falist_set LIST 'key 5' 'value 5' | 171 $ falist_set LIST 'key 5' 'value 5' |
| 172 $ falist_trydel LIST 'key 1' | 172 $ falist_trydel LIST 'key 1' |
| 173 $ falist_trydel LIST 'key 5' | 173 $ falist_trydel LIST 'key 5' |
| 174 $ falist_trydel LIST 'key 3' | 174 $ falist_trydel LIST 'key 3' |
| 175 $ falist_debug LIST | |
| 176 DEBUG: alist `LIST' has length 2 | |
| 177 DEBUG: `key 2' -> `value 2' | |
| 178 DEBUG: `key 4' -> `value 4' | |
| 175 $ falist_trydel LIST "non-existing key" | 179 $ falist_trydel LIST "non-existing key" |
| 176 [1] | 180 [1] |
| 177 $ falist_print_length LIST | 181 $ falist_print_length LIST |
| 178 2 (no-eol) | 182 2 (no-eol) |
| 179 $ falist_get _var LIST 'key 2' | 183 $ falist_get _var LIST 'key 2' |
