Skip to content

Commit 26ed9d6

Browse files
committed
0.8
1 parent d2e5b48 commit 26ed9d6

File tree

6 files changed

+18
-11
lines changed

6 files changed

+18
-11
lines changed

Changes

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
Revision history for actions
2+
3+
{{$NEXT}}
4+
5+
0.8 2024-11-07T13:04:51+01:00
6+
- Initial version as a Raku Community Module

META6.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,5 +27,5 @@
2727
],
2828
"test-depends": [
2929
],
30-
"version": "0.7.2"
30+
"version": "0.8"
3131
}

t/01-basic.rakutest

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
1-
use v6;
21
use Test;
32
use POFile;
43

4+
plan 51;
5+
56
my ($PO, $result);
67

78
$PO = q:to/END/;
@@ -321,4 +322,4 @@ $PO = "I will not be parsed!";
321322
throws-like { POFile.parse($PO) },
322323
POFile::CannotParse, 'Has typed exception on parsing failure';
323324

324-
done-testing;
325+
# vim: expandtab shiftwidth=4

t/02-deletion.rakutest

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
1-
use v6;
21
use Test;
32
use POFile;
43

4+
plan 10;
5+
56
my ($PO, $result);
67

78
$PO = q:to/END/;
@@ -79,5 +80,4 @@ throws-like { $result[10]:delete },
7980
throws-like { $result{'not-a-key'}:delete },
8081
POFile::IncorrectKey, 'Missing key has typed exception';
8182

82-
83-
done-testing;
83+
# vim: expandtab shiftwidth=4

t/03-quoting.rakutest

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
1-
use v6;
21
use Test;
32
use POFile :quoting;
43

4+
plan 2;
5+
56
is po-unquote(「\t\"\\\n」), 「\t"\\n」, 'Unquoting works';
67
is po-quote(「\t"\\n\」), 「\t\"\\\n\\」, 'Quoting works';
78

8-
done-testing;
9+
# vim: expandtab shiftwidth=4

t/04-newline.rakutest

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
1-
use v6;
21
use Test;
32
use POFile;
43

5-
plan *;
4+
plan 2;
65

76
my $PO = qq!msgid "One"\nmsgstr ""!;
87
ok POFile.parse($PO);
98

109
$PO = qq!#~ obsolete message!;
1110
ok POFile.parse($PO);
1211

13-
done-testing;
12+
# vim: expandtab shiftwidth=4

0 commit comments

Comments
 (0)