Permalink
Browse files

[t/spec]: Clean up passing-hashes.t, remove unneeded "returns Void"

git-svn-id: http://svn.pugscode.org/pugs@24821 c213334d-75ef-0310-aa23-eaa082d1ae64
  • Loading branch information...
1 parent 5ecc45e commit 2943120471883ea29803b57ca1f77cd0778cb40c pmichaud committed Jan 9, 2009
Showing with 2 additions and 2 deletions.
  1. +2 −2 S06-signature/passing-hashes.t
@@ -8,13 +8,13 @@ sub sanity {
isa_ok(%sane, Hash, '%sane is a Hash');
}
-sub insanity (Hash %baloney) returns Void{
+sub insanity (%baloney) {
isa_ok(%baloney, Hash, '%baloney is a Hash');
}
# sanity 0
my %h = 'a'..'d' Z 1..4;
-is(%h.WHAT,'Hash','%h is a Hash');
+is(%h.WHAT, 'Hash', '%h is a Hash');
#sanity 1;
sanity;

0 comments on commit 2943120

Please sign in to comment.