Main Koha release repository https://koha-community.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

13 lines
401 B

#!/usr/bin/perl
use Modern::Perl;
use Test::More tests => 6;
use_ok( 'Koha::Util::FrameworkPlugin', qw(wrapper) );
my $char;
is($char=wrapper(' '),'space',"Return space");
is($char=wrapper(' '),'dblspace',"Return dblspace");
is($char=wrapper('|'),'pipe',"Return pipe");
is($char=wrapper('||'),'dblpipe',"Return dblpipe");
is($char=wrapper('somethingelse'),'somethingelse',"Return somethingelse");