shard-radix/spec/radix
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
..
node_spec.cr Introduce types for forward compiler compatiblity 2016-04-16 16:53:20 -03:00
result_spec.cr Introduce types for forward compiler compatiblity 2016-04-16 16:53:20 -03:00
tree_spec.cr fix(Tree): allows insert paths with shared keys unordered 2016-11-05 14:16:09 -03:00
version_spec.cr Add VERSION constant for runtime usage 2016-05-16 20:37:41 -03:00