Fix the test case for 'emqx_router:print_routes/1'

This commit is contained in:
Feng Lee 2019-01-09 12:10:54 +08:00
parent 52241a7804
commit 36a4eaec02
1 changed files with 3 additions and 3 deletions

View File

@ -89,9 +89,9 @@ t_match_routes(_) ->
?assertEqual([], lists:sort(?R:match_routes(<<"a/b/c">>))).
t_print_routes(_) ->
?R:add_route("+/#"),
?R:add_route("+/+"),
?R:print_routes("a/b").
?R:add_route(<<"+/#">>),
?R:add_route(<<"+/+">>),
?R:print_routes(<<"a/b">>).
t_has_routes(_) ->
?R:add_route(<<"devices/+/messages">>, node()),