File: utf-8.t

package info (click to toggle)
libemail-valid-perl 1.204-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 336 kB
  • sloc: perl: 3,157; makefile: 7
file content (17 lines) | stat: -rw-r--r-- 280 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use strict;
use warnings;

use Test::More tests => 2;

use Email::Valid ();

ok(
  ! Email::Valid->address("adriano-f\xE9res\@blah.com"),
  'do not accept addr with \xE9',
);

ok(
  ! Email::Valid->address("adriano-u\x{11F}ur\@blah.com"),
  'do not accept addr with \x{11F}',
);