[gnumeric] Tests: don't care about roundtrip for HYPGEOMDIST's cum argument in xlsx



commit 7c41afc6f654a5135e80b8d39a0a202c9efe8b7f
Author: Morten Welinder <terra gnome org>
Date:   Mon Nov 20 20:17:08 2017 -0500

    Tests: don't care about roundtrip for HYPGEOMDIST's cum argument in xlsx
    
    It's required in xlsx, optional in Gnumeric.

 test/t6590-samples.pl |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/test/t6590-samples.pl b/test/t6590-samples.pl
index 64db963..5816bf7 100755
--- a/test/t6590-samples.pl
+++ b/test/t6590-samples.pl
@@ -74,9 +74,14 @@ if (&subtest ("biff8")) {
 
 if (&subtest ("xlsx")) {
     &message ("Check documentation samples xlsx roundtrip.");
+
+    # Don't care about cum argument being required in XL.
+    my $hypgeom_filter = "$PERL -p -e 'if (/\\bhypgeomdist\\b/) { s{,FALSE\\)}{)}'}";
+
     &test_roundtrip ($file,
                     'format' => 'Gnumeric_Excel:xlsx',
                     'ext' => "xlsx",
                     'resize' => '1048576x16384',
+                    'filter' => $hypgeom_filter,
                     'ignore_failure' => 1);
 }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]