-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add putSameValue option + tests * Simplify if conditions * rename to alwaysDuplicate * Add comment to option * Update alwaysDuplicate test to insert different value after * Check node values in test * Remove alwaysDuplicate handling from _del * Pass value to insertKey + add sameValue helper * Clean up sameValue * remove unneeded guard * rename to prev * no need for extra cas check * fixed another one --------- Co-authored-by: Mathias Buus <mathiasbuus@gmail.com>
- Loading branch information
Showing
2 changed files
with
77 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters