shard-radix/spec
Luis Lavena d7c0779ac9 fix(Tree): allows insert paths with shared keys unordered
When adding new nodes into the tree, the lookup mechanism failed
to detect same named parameter was already added to it, raising
an exception.

Example:

    tree = Radix::Tree(Symbol).new
    tree.add "/members/:id/edit", :member_edit
    tree.add "/members/export",   :members_export
    tree.add "/members/:id/videos", :member_videos # Exception

This fix ensures that comparison is done key by key, even if they
are inserted into the tree in a different order.

Closes #9
2016-11-05 14:16:09 -03:00
..
radix fix(Tree): allows insert paths with shared keys unordered 2016-11-05 14:16:09 -03:00
spec_helper.cr Extraction: initial import 2016-01-24 19:19:42 -03:00