We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8f02b3f commit 28516c4Copy full SHA for 28516c4
S32-encoding/registry.t
@@ -1,11 +1,15 @@
1
+
2
use Test;
3
use lib $?FILE.IO.parent(2).add: 'packages';
4
5
use Test::Util;
6
-plan 15;
7
+plan 40;
8
-for <utf8 utf-8 UTF-8 ascii iso-8859-1 latin-1> -> $name {
9
+for <utf8 utf-8 UTF-8 ascii iso-8859-1 latin-1 utf16 utf-16 UTF-16 UTF16
10
+ utf16le utf-16le utf16-le utf-16-le utf16be UTF16BE UTF-16be utf16-be
11
+ utf-16-be utf16-le UTF16-BE UTF16-LE windows932 windows-932 windows-1251
12
+ windows1251 windows-1252 windows1252 utf32 utf-32 UTF32> -> $name {
13
group-of 3 => "Can find built-in $name encoding" => {
14
given Encoding::Registry.find: $name {
15
isa-ok $_, Encoding::Builtin, 'type of result';
0 commit comments