Skip to content

Commit

Permalink
Merge pull request #9 from edgurgel/fix-parse-authority-test
Browse files Browse the repository at this point in the history
Fix parse_authority_test
  • Loading branch information
jwilberding committed Sep 17, 2013
2 parents e3d8ea8 + 9e28c88 commit 06a6753
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/uri.erl
Expand Up @@ -659,7 +659,7 @@ parse_scheme_test() ->
parse_authority_test() ->
?assertMatch({<<"test.com">>, <<"/here">>}, parse_authority(<<"//test.com/here">>)),
?assertMatch({<<"test.com">>, <<"">>}, parse_authority(<<"//test.com">>)),
?assertMatch({<<>>, <<"/test">>}, parse_scheme(<<"/test">>)).
?assertMatch(<<"/test">>, parse_authority(<<"/test">>)).

parse_user_info_test() ->
?assertMatch({<<"user">>, <<"test.com">>}, parse_user_info(<<"user@test.com">>)),
Expand Down

0 comments on commit 06a6753

Please sign in to comment.