remove WebGUI::Utility::makeArrayCommaSafe
This commit is contained in:
parent
631c4fe38c
commit
41201e5c4f
2 changed files with 1 additions and 28 deletions
|
|
@ -25,15 +25,6 @@ my $session = WebGUI::Test->session;
|
|||
# isIn
|
||||
ok(WebGUI::Utility::isIn("webgui", qw(cars trucks webgui trains)), 'isIn()');
|
||||
|
||||
# makeArrayCommaSafe
|
||||
my @commaFilledArray = ("this,that", "foo,bar", "x-y");
|
||||
WebGUI::Utility::makeArrayCommaSafe(\@commaFilledArray);
|
||||
my $noCommaFound = 1;
|
||||
foreach my $row (@commaFilledArray) {
|
||||
$noCommaFound = 0 if ($row =~ m/,/);
|
||||
}
|
||||
ok($noCommaFound, 'makeArrayCommaSafe()');
|
||||
|
||||
# makeCommaSafe
|
||||
unlike(WebGUI::Utility::makeCommaSafe("this,that,foo,,bar"), qr/,/, 'makeCommaSafe()');
|
||||
is(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue