[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[no subject]
From: |
Gavin D. Smith |
Date: |
Fri, 27 Oct 2023 15:36:58 -0400 (EDT) |
branch: master
commit e625c5ee3277e3185369c65ea1f5297c17152274
Author: Gavin Smith <gavinsmith0123@gmail.com>
AuthorDate: Fri Oct 27 12:51:45 2023 +0100
* tp/Texinfo/Convert/Text.pm (convert_to_text): Change cluck
to confess so we do not carry on in the test suite if there is
a problem.
---
ChangeLog | 6 ++++++
tp/Texinfo/Convert/Text.pm | 2 +-
2 files changed, 7 insertions(+), 1 deletion(-)
diff --git a/ChangeLog b/ChangeLog
index cc3788a3d7..74bbe368b5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2023-10-27 Gavin Smith <gavinsmith0123@gmail.com>
+
+ * tp/Texinfo/Convert/Text.pm (convert_to_text): Change cluck
+ to confess so we do not carry on in the test suite if there is
+ a problem.
+
2023-10-27 Patrice Dumas <pertusus@free.fr>
* tp/Texinfo/XS/Makefile.am (libtexinfo_la_SOURCES),
diff --git a/tp/Texinfo/Convert/Text.pm b/tp/Texinfo/Convert/Text.pm
index 30f579ffbf..7ebdadfb0a 100644
--- a/tp/Texinfo/Convert/Text.pm
+++ b/tp/Texinfo/Convert/Text.pm
@@ -471,7 +471,7 @@ sub convert_to_text($;$)
my $options = shift;
if (ref($root) ne 'HASH') {
- cluck;
+ confess "root not a hash";
}
#print STDERR "CONVERT\n";