fix typo
This commit is contained in:
parent
05b3261ca5
commit
727e7d4727
|
@ -68,10 +68,10 @@ sigle_level_match_test() ->
|
||||||
?assertNot( match(<<"/finance">>, <<"+">>) ).
|
?assertNot( match(<<"/finance">>, <<"+">>) ).
|
||||||
|
|
||||||
sys_match_test() ->
|
sys_match_test() ->
|
||||||
?assert( match(<<"$SYS/borker/clients/testclient">>, <<"$SYS/#">>) ),
|
?assert( match(<<"$SYS/broker/clients/testclient">>, <<"$SYS/#">>) ),
|
||||||
?assert( match(<<"$SYS/borker">>, <<"$SYS/+">>) ),
|
?assert( match(<<"$SYS/broker">>, <<"$SYS/+">>) ),
|
||||||
?assertNot( match(<<"$SYS/borker">>, <<"+/+">>) ),
|
?assertNot( match(<<"$SYS/broker">>, <<"+/+">>) ),
|
||||||
?assertNot( match(<<"$SYS/borker">>, <<"#">>) ).
|
?assertNot( match(<<"$SYS/broker">>, <<"#">>) ).
|
||||||
|
|
||||||
'#_match_test'() ->
|
'#_match_test'() ->
|
||||||
?assert( match(<<"a/b/c">>, <<"#">>) ),
|
?assert( match(<<"a/b/c">>, <<"#">>) ),
|
||||||
|
@ -127,4 +127,3 @@ join_test() ->
|
||||||
?assertEqual(<<"ab/+/#">>, emqttd_topic:join(words(<<"ab/+/#">>))).
|
?assertEqual(<<"ab/+/#">>, emqttd_topic:join(words(<<"ab/+/#">>))).
|
||||||
|
|
||||||
-endif.
|
-endif.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue