Skip to content

Commit

Permalink
update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
hannaeko committed May 2, 2022
1 parent 18dd0ae commit 61b7511
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions t/test_validate_syntax.t
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,16 @@ subtest 'Everything but NoWarnings' => sub {
is( scalar @res, 0 );
};

subtest 'consecutive dots' => sub {
my @res = start_domain_validate_params(
{
%$frontend_params, domain => 'afnic..fr'
}
);

is( scalar @res, 1 );
};

subtest encode_utf8( 'idn domain=[é]' ) => sub {
my @res = start_domain_validate_params(
{
Expand Down

0 comments on commit 61b7511

Please sign in to comment.