Skip to content

Commit

Permalink
added unittests for issue 14924
Browse files Browse the repository at this point in the history
  • Loading branch information
bbasile committed Aug 16, 2015
1 parent 169101f commit d697e0f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions std/uri.d
Expand Up @@ -444,6 +444,7 @@ unittest
assert (uriLength(s1) == 49);
string s2 = "no uri here";
assert (uriLength(s2) == -1);
assert (uriLength("issue 14924") < 0);
}


Expand Down Expand Up @@ -507,6 +508,7 @@ unittest
assert (emailLength(s1) == 32);
string s2 = "no email address here";
assert (emailLength(s2) == -1);
assert (emailLength("issue 14924") < 0);
}


Expand Down

0 comments on commit d697e0f

Please sign in to comment.