diff options
author | Fred Hebert <mononcqc@ferd.ca> | 2015-12-06 11:38:15 -0500 |
---|---|---|
committer | Fred Hebert <mononcqc@ferd.ca> | 2015-12-06 11:59:19 -0500 |
commit | f0876ae8c751b4083eadb81a14d000dcd59eeeb7 (patch) | |
tree | e4c331a1b6be6f49b64ac06fb2c9f2379304e745 /src/rebar_prv_eunit.erl | |
parent | 5b7bf677f832311008c33a10729a9e8a6197a087 (diff) |
Fix tuple umerging
- proper segregation of comparison between tuple terms and non-tuple
terms. Guards weren't specific enough and that meant the wrong clauses
of guards would be triggered
- proper deduplication of entries in the list. An additional N passes
are required (we co-opt the reverse step to be more efficient) because
while the original lists:umerge easily removes dupes, this is
requiring more logic here since `[a,{a,b},{a,b,c},a,{a,b,c}]` is a
possible interleaving and we'd want `[a,{a,b},{a,b,c}]` -- comparison
of direct neighbours isn't enough.
Diffstat (limited to 'src/rebar_prv_eunit.erl')
0 files changed, 0 insertions, 0 deletions