Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fixed typo and added test in t/IDN.t

  • Loading branch information...
commit 94730e61ddef503763cdd8b2845ff5764b45601e 1 parent 2817b42
@nospampleasemam nospampleasemam authored
Showing with 4 additions and 2 deletions.
  1. +4 −2 t/IDN.t
View
6 t/IDN.t
@@ -6,14 +6,16 @@ use Test::More;
use DDG::Test::Goodie;
zci answer_type => 'idn';
-zci is_cached => 0;
+zci is_cached => 1;
ddg_goodie_test(
[qw(
DDG::Goodie::IDN
)],
+ 'idn exämple.com' => test_zci('encoded IDN: xn--exmple-cua.com'),
+ 'idn xn--exmple-cua.com' => test_zci('decoded IDN: exämple.com'),
'idn Bücher.ch' => test_zci('encoded IDN: xn--bcher-kva.ch'),
- 'idn xn--bcher-kva.ch' => test_zci('decoded IDN: Bücher.ch'),
+ 'idn xn--bcher-kva.ch' => test_zci('decoded IDN: bücher.ch'),
);
done_testing;
Please sign in to comment.
Something went wrong with that request. Please try again.