Permalink
Browse files

more tests

  • Loading branch information...
miyagawa committed Feb 14, 2007
1 parent bf2c7fe commit 9a7deef1fd4dcc4bd5139a13be5e83a9ba47f558
Showing with 6 additions and 1 deletion.
  1. +6 −1 t/01_test.t
View
@@ -5,7 +5,6 @@ use Test::Base;
use Encode;
use Encode::DoubleEncodedUTF8;
-
filters {
input => [ 'chomp', 'string' ],
expected => [ 'chomp', 'string' ]
@@ -37,6 +36,12 @@ __END__
--- expected
\x{5bae}\x{5bae}\x{5bae}\x{5bae}
+=== More than 2 characters
+--- input
+\xc3\xa5\xc2\xae\xc2\xae\xc3\xa5\xc2\xae\xc2\xae
+--- expected
+\x{5bae}\x{5bae}
+
=== Dodgy Latin-1
--- input
Hello Léon

0 comments on commit 9a7deef

Please sign in to comment.