Skip to content

Commit

Permalink
Test CArray.^shortname shows sane value
Browse files Browse the repository at this point in the history
  • Loading branch information
zoffixznet committed Dec 11, 2017
1 parent 20d67a3 commit 831dab1
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion t/04-nativecall/05-arrays.t
Expand Up @@ -5,7 +5,7 @@ use CompileTestLib;
use NativeCall;
use Test;

plan 40;
plan 41;

compile_test_lib('05-arrays');

Expand Down Expand Up @@ -164,4 +164,8 @@ compile_test_lib('05-arrays');
lives-ok { CArray[Str].new[my int $ = 1] }, 'native int as index to CArray does not crash'
}

# RT #131406
is CArray[Pointer].^shortname, 'CArray[Pointer]',
'CArray.^shortname shows sane value';

# vim:ft=perl6

0 comments on commit 831dab1

Please sign in to comment.