diff options
| author | Ben Culkin <scorpress@gmail.com> | 2020-10-06 20:05:00 -0400 |
|---|---|---|
| committer | Ben Culkin <scorpress@gmail.com> | 2020-10-06 20:05:00 -0400 |
| commit | 3a818da77acf50e7ea0d2c02d669cb67b9f114e3 (patch) | |
| tree | a50b5bfe0490d9d6c585c695fc6369ef8936f470 /base/src/main/java/bjc/utils/funcutils/GroupPartIteration.java | |
| parent | a7a87f682a039d4761112f1dedb9351f3d7a2bbf (diff) | |
Add unit tests for defines
Adds unit tests for SimpleDefine and IteratedDefine.
This also fixes an issue with IteratedDefine, where once you had
consumed a replacer, it was consumed for good; you couldn't use it in
the future, even in a different call to apply().
This was fixed through the introduction of a new iterator type from
esodata - ResettableIterator. See that project/type for more details on
what exactly this does; but suffice to say, it allows to restore our
iterator and re-iterate over the same elements on every call to apply.
Diffstat (limited to 'base/src/main/java/bjc/utils/funcutils/GroupPartIteration.java')
0 files changed, 0 insertions, 0 deletions
