comparison tests/farray-array.t @ 742:5ba94d373199

farray.sh: FIX: allow proper token value usage for farray_splice(), farray_merge(), falist_keys(), falist_values() and falist_items()
author Franz Glasner <fzglas.hg@dom66.de>
date Tue, 08 Oct 2024 09:52:29 +0200
parents bcfd8383a918
children 6787e216285e
comparison
equal deleted inserted replaced
741:446c175cfb48 742:5ba94d373199
354 Replace complete array 354 Replace complete array
355 355
356 $ farray_create DELETED 356 $ farray_create DELETED
357 $ farray_create INSERTED ' I 1 ' ' I 2 ' ' I 3 ' 357 $ farray_create INSERTED ' I 1 ' ' I 2 ' ' I 3 '
358 $ farray_create TEST ' v 1 ' ' v 2 ' ' v 3 ' ' v 4 ' ' v 5 ' ' v 6 ' ' v 7 ' ' v 8 ' ' v 9 ' 358 $ farray_create TEST ' v 1 ' ' v 2 ' ' v 3 ' ' v 4 ' ' v 5 ' ' v 6 ' ' v 7 ' ' v 8 ' ' v 9 '
359 $ farray_splice DELETED TEST 1 "" INSERTED 359 $ farray_splice "$DELETED" TEST 1 "" "$INSERTED"
360 $ farray_debug DELETED 360 $ farray_debug DELETED
361 DEBUG: array `DELETED' has length 9 361 DEBUG: array `DELETED' has length 9
362 DEBUG: the items: 362 DEBUG: the items:
363 DEBUG: 1: ` v 1 ' 363 DEBUG: 1: ` v 1 '
364 DEBUG: 2: ` v 2 ' 364 DEBUG: 2: ` v 2 '