File: method.t

package info (click to toggle)
libperl-prereqscanner-notquitelite-perl 0.9917-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 944 kB
  • sloc: perl: 5,239; makefile: 2
file content (20 lines) | stat: -rw-r--r-- 421 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
use strict;
use warnings;
use FindBin;
use lib "$FindBin::Bin/../../";
use t::scan::Util;

test(<<'TEST'); # SATOH/Text-Xatena-0.18/t/lib/Text/Xatena/Test.pm
sub thx ($) {
    my ($str) = @_;
    $INLINE->use if $INLINE;
    my $thx = Text::Xatena->new(
        %{ $options },
        inline => $INLINE ? $INLINE->new(@{ $INLINE_ARGS }) : undef 
    );
    my $ret = $thx->format($str, );
    $ret;
}
TEST

done_testing;