Closed raftedproc closed 3 months ago
It worth adding a small tests that just demonstrates specific bit of functionality, e.g. fold_canon_stream_map_duplicate_keys
.
It worth adding a small tests that just demonstrates specific bit of functionality, e.g.
fold_canon_stream_map_duplicate_keys
.
JFYI I altered the existing test to test duplicates iterating with fold over SCM. Here is the duplicate key.
This is to align the spec with the implementation. The spec tells
fold
iterates over unique(conflicts are resolved with LastWriteWin policy) kv pairs. The implementation violates this delivering all kv pairs together with duplicates.