Skip to content

Commit

Permalink
Item13883: fixed unit tests for SpreadSheetPlugin
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelDaum committed Jul 17, 2023
1 parent b4e98fc commit b088abf
Showing 1 changed file with 6 additions and 0 deletions.
Expand Up @@ -85,9 +85,15 @@ sub CALC {
Foswiki::Plugins::SpreadSheetPlugin::Calc::CALC( $calcC, $args{topic},
$args{web} );

# remove line information
$rsltC =~ s/\(eval \d+\)//;

my $calcR = '%CALCULATE{"' . $str . '"}%';
my $rsltR = Foswiki::Func::expandCommonVariables($calcR);

# remove line information
$rsltR =~ s/\(eval \d+\)//;

if ($ne) {
my $i = 1;
while ( $rsltC eq $rsltR ) {
Expand Down

0 comments on commit b088abf

Please sign in to comment.