Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

RT #72834

  • Loading branch information...
commit aa81a8b4d0802a115a51f684e24b3f8e84c14f4b 1 parent 931b743
Moritz Lenz authored March 30, 2012

Showing 1 changed file with 4 additions and 2 deletions. Show diff stats Hide diff stats

  1. 6  S13-type-casting/methods.t
6  S13-type-casting/methods.t
... ...
@@ -1,6 +1,6 @@
1 1
 use v6;
2 2
 use Test;
3  
-plan 12;
  3
+plan 13;
4 4
 
5 5
 # L<S13/Type Casting/"whose name is a declared type, it is taken as a coercion
6 6
 # to that type">
@@ -30,8 +30,10 @@ ok +$o == 1.2, 'method Numeric takes care of correct numification';
30 30
     }
31 31
     is RT69378str.new.a, 'RT #69378', 'call to RT69378str.new properly initializes $.a';
32 32
     is RT69378str.new.Str, 'RT #69378', 'call to .Str works on "class is Str"';
33  
-    #?niecza skip 'coercion syntax'
  33
+    #?niecza 2 skip 'coercion syntax'
34 34
     is Str(RT69378str.new), 'RT #69378', 'Str(...) coercion syntax calls our .Str too';
  35
+    # RT #72834
  36
+    ok Int() == 0, 'Int()';
35 37
 }
36 38
 
37 39
 is 1.Str.Str, "1", ".Str can be called on Str";

0 notes on commit aa81a8b

Please sign in to comment.
Something went wrong with that request. Please try again.