[gnumeric] test: use regex for matching fail count.
- From: Morten Welinder <mortenw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnumeric] test: use regex for matching fail count.
- Date: Tue, 8 Feb 2022 01:02:44 +0000 (UTC)
commit f6e05669ef503979391580ff920f1e7adb1276a8
Author: Morten Welinder <terra gnome org>
Date: Mon Feb 7 20:01:52 2022 -0500
test: use regex for matching fail count.
Just in case an error shows up there one day.
test/t1010-bitwise.pl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/test/t1010-bitwise.pl b/test/t1010-bitwise.pl
index 240e9264d..2dd223d82 100755
--- a/test/t1010-bitwise.pl
+++ b/test/t1010-bitwise.pl
@@ -7,4 +7,4 @@ use GnumericTest;
my $file = "bitwise.xls";
&message ("Check that $file evaluates correctly.");
-&test_sheet_calc ("$samples/excel/$file", "Summary!C5", sub { $_ == 0 });
+&test_sheet_calc ("$samples/excel/$file", "Summary!C5", sub { /^0$/ });
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]