comparison tests/farray-alist.t @ 719:b2757e72b517

farray.sh: The first preparations to allow arrays/alists as values in other arrays or alists
author Franz Glasner <fzglas.hg@dom66.de>
date Fri, 04 Oct 2024 23:18:10 +0200
parents 2502e077d5e9
children a97ec3f07bdb
comparison
equal deleted inserted replaced
718:2502e077d5e9 719:b2757e72b517
402 $ falist_type LIST 402 $ falist_type LIST
403 alist (no-eol) 403 alist (no-eol)
404 $ falist_isalist LIST 404 $ falist_isalist LIST
405 $ falist_destroy LIST 405 $ falist_destroy LIST
406 $ check_no_alist_artifacts 406 $ check_no_alist_artifacts
407
408
409 Generic Destruction
410 ===================
411
412 $ falist_create LIST k1 v2
413 $ falist_debug LIST
414 DEBUG: alist `LIST' has length 1
415 DEBUG: `k1' -> `v2'
416 $ _farr_destroy_object "$LIST"
417 $ check_no_alist_artifacts
418 $ (_farr_destroy_object "$LIST")
419 ERROR: falist with token value `_farr_KV\*_([a-f0-9]+)' not created properly: no object for token `\1' (re)
420 [1]
421 $ LIST=''
422 $ _farr_destroy_object "$LIST"
423 $ check_no_alist_artifacts