Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 25 lines (17 sloc) 0.375 kb
b320c8f [t] move a hash test to spec/
moritz authored
1 use v6;
2
3 use Test;
4 plan 3;
5
6 sub sanity {
7 my %sane = 'a'..'d' Z 1..4;
8 isa_ok(%sane, Hash, '%sane is a Hash');
9 }
10
11 sub insanity (Hash %baloney) returns Void{
12 isa_ok(%baloney, Hash, '%baloney is a Hash');
13 }
14
15 # sanity 0
16 my %h = 'a'..'d' Z 1..4;
17 is(%h.WHAT,'Hash','%h is a Hash');
18
19 #sanity 1;
20 sanity;
21
061d002 [t/spec] various small improvements.
moritz authored
22 # Hash passed to a sub used to become a List in pugs
b320c8f [t] move a hash test to spec/
moritz authored
23 insanity %h;
24
Something went wrong with that request. Please try again.