[gnumeric] Tests: don't complain over concatenate coming back as concat for ods.
- From: Morten Welinder <mortenw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnumeric] Tests: don't complain over concatenate coming back as concat for ods.
- Date: Tue, 21 Nov 2017 12:46:16 +0000 (UTC)
commit 7f8183bcd519ee4b2587922b78476d68b29ebf75
Author: Morten Welinder <terra gnome org>
Date: Tue Nov 21 07:45:34 2017 -0500
Tests: don't complain over concatenate coming back as concat for ods.
Same function.
test/t6590-samples.pl | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/test/t6590-samples.pl b/test/t6590-samples.pl
index 5816bf7..ba222f5 100755
--- a/test/t6590-samples.pl
+++ b/test/t6590-samples.pl
@@ -44,11 +44,12 @@ if (&subtest ("ods")) {
# Replace calls to boolean functions with constants
my $bool_func_filter = "$PERL -p -e 's{\\b(true|false)\\(\\)}{uc(\$1)}e'";
+ my $concat_filter = "$PERL -p -e 's{\\bconcatenate\\b}{concat} and s{\\baa\\b}{bb}'";
&test_roundtrip ($file,
'format' => 'Gnumeric_OpenCalc:odf',
'ext' => "ods",
- 'filter0' => "$bool_func_filter",
+ 'filter0' => "$bool_func_filter | $concat_filter",
'filter2' => 'std:drop_generator',
'ignore_failure' => 1);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]