diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2024-07-10 01:11:19 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2024-07-10 01:11:19 -0700 |
commit | 42f2b87f012ca4980f326b0270b7a0c1fb34f5a0 (patch) | |
tree | 2246edf21d340566c6f43084117d47f865e2682e /tests/012/oop-mi.expected | |
parent | 76789e6db8533da2ba9fd20cf66573d90ce22b4a (diff) | |
download | txr-42f2b87f012ca4980f326b0270b7a0c1fb34f5a0.tar.gz txr-42f2b87f012ca4980f326b0270b7a0c1fb34f5a0.tar.bz2 txr-42f2b87f012ca4980f326b0270b7a0c1fb34f5a0.zip |
split, split*, partition: tests, fixes.
* lib.c (partition_func): In empty index list case, run
the sequence through sub(seq, zero, t) so that ranges
are expanded: e.g. 1..3 becomes (1 2).
The corresponding code in split_func
and split_star_func also needs this fix, but the
current test cases don't reproduce a problem.
(partition_split_common): Likewise here.
* tests/012/seq.tl: Tests for split, split* and partition.
Some tests have questionable results. We accept these
as they are for now; will address these.
Diffstat (limited to 'tests/012/oop-mi.expected')
0 files changed, 0 insertions, 0 deletions