We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 32c43c0 commit 98c1c26Copy full SHA for 98c1c26
META6.json
@@ -4,6 +4,7 @@
4
"version" : "*",
5
"description" : "A minimal JSON (de)serializer",
6
"depends" : [ ],
7
+ "license": "Artistic-2.0",
8
"provides" : {
9
"JSON::Tiny" : "lib/JSON/Tiny.pm",
10
"JSON::Tiny::Actions" : "lib/JSON/Tiny/Actions.pm",
t/06-meta-valid.t
@@ -0,0 +1,18 @@
1
+use v6;
2
+use Test;
3
+
+use JSON::Tiny;
+my $contents = slurp 'META6.json';
+ok $contents, 'can read META6.json';
+my %decoded;
+lives-ok {
+ %decoded = from-json($contents);
11
+}, 'can decode META6.json';
12
13
+ok %decoded, 'META6.json is not empty';
14
+for <perl name description license provides source-url> -> $key {
15
+ ok %decoded{$key}.defined, "key $key present";
16
+}
17
18
+done-testing;
0 commit comments