summaryrefslogtreecommitdiffstats
path: root/gnu/usr.bin/perl/ext/XS-APItest/t/underscore_length.t
blob: 580f9f9e0098f09aecf0fba85386cb79231a080e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use warnings;
use strict;

use Test::More tests => 2;

use XS::APItest qw(underscore_length);

$_ = "foo";
is underscore_length(), 3;

$_ = "snowman \x{2603}";
is underscore_length(), 9;

1;