Permalink
Browse files

add test for RT # 76648

  • Loading branch information...
coke committed Jan 12, 2014
1 parent ed446b2 commit 951c5162758dae14295b7d8fb200f10e3fb9385a
Showing with 9 additions and 1 deletion.
  1. +9 −1 S12-introspection/methods.t
@@ -2,7 +2,7 @@ use v6;
use Test;
-plan 57;
+plan 58;
=begin pod
@@ -155,4 +155,12 @@ is @methods[0].name, 'bar', 'methods call found public method in subclass (with
lives_ok { :(Int).^methods>>.gist }, 'Can >>.gist methods of a Signature';
}
+# RT #76648
+# order of ^methods
+
+{
+ class Foo { has $.bar; has $.baz; has $.antler };
+ is Foo.^methods.join(","), "bar,baz,antler", "order of ^methods consistent";
+}
+
# vim: ft=perl6

0 comments on commit 951c516

Please sign in to comment.