Skip to content

Commit

Permalink
added more tests for vianame
Browse files Browse the repository at this point in the history
  • Loading branch information
tokuhirom committed Feb 10, 2008
1 parent 064d936 commit 030ef5c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion t/charnames.t
@@ -1,7 +1,7 @@
use strict;
use warnings;
use Data::Dumper;
use Test::More tests => 32;
use Test::More tests => 33;
use Encode;

my $WARN;
Expand Down Expand Up @@ -54,6 +54,7 @@ BEGIN {
}
eval { unicode2name() }; like $@, qr{^missing code}, "validation";
eval { unicode2name_en() }; like $@, qr{^missing code}, "validation";
eval { vianame() }; like $@, qr{^missing name}, "validation";

is Encode::is_utf8("\N{DoCoMo Beer}"), 1;
is Encode::is_utf8("\N{DoCoMo ファーストフード}"), 1;
Expand Down

0 comments on commit 030ef5c

Please sign in to comment.