Permalink
Browse files

tests for RT #120385

  • Loading branch information...
1 parent 83aa430 commit ce4fdbfbdaa0e1566620626b5c3415e402b4a431 @timo timo committed Oct 27, 2013
Showing with 9 additions and 1 deletion.
  1. +9 −1 S02-types/whatever.t
View
@@ -1,7 +1,7 @@
use v6;
use Test;
-plan 80;
+plan 83;
# L<S02/The Whatever Object/"The * character as a standalone term captures the notion of">
# L<S02/Native types/"If any native type is explicitly initialized to">
@@ -262,4 +262,12 @@ eval_lives_ok '{*.{}}()', '{*.{}}() lives';
nok $chained(3), 'Chained comparison (3)';
}
+# RT #120385
+#?rakudo todo 'whatevercode with postcircumfix [] and {}'
+{
+ isa_ok (*.[1]), Code, '*.[1] is some kind of code';
+ isa_ok (*.<a>), Code, '*.<a> is some kind of code';
+ isa_ok (*.{1}), Code, '*.{1} is some kind of code';
+}
+
# vim: ft=perl6

0 comments on commit ce4fdbf

Please sign in to comment.