Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

added test for x-sjis-vodafone decode fallback.

  • Loading branch information...
commit c57722e2d8713a07f9535c7b592eda211e97afda 1 parent 5d6fc76
tokuhirom authored
Showing with 6 additions and 1 deletion.
  1. +6 −1 t/vodafone-fallback.t
View
7 t/vodafone-fallback.t
@@ -1,6 +1,6 @@
use strict;
use warnings;
-use Test::More tests => 2;
+use Test::More tests => 3;
use Encode;
use Encode::JP::Mobile;
@@ -15,4 +15,9 @@ use Encode::JP::Mobile;
is $var, "x1607";
}
+{
+ my $s = "\x1b\x24\x47\x21\x0f";
+ decode('x-sjis-vodafone', $s, Encode::FB_HTMLCREF);
+ is $s, "\x1b\x24\x47\x21\x0f";
+}
Please sign in to comment.
Something went wrong with that request. Please try again.