texinfo-commits
[Top][All Lists]
Advanced

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

[no subject]


From: Gavin D. Smith
Date: Thu, 27 Oct 2022 18:38:41 -0400 (EDT)

branch: master
commit 66ee56272b55665b9fbe30bce716495c3c345512
Author: Gavin Smith <gavinsmith0123@gmail.com>
AuthorDate: Thu Oct 27 23:35:53 2022 +0100

    * tp/t/paragraph.t: use intended formatter in tests
---
 ChangeLog        | 4 ++++
 tp/t/paragraph.t | 6 +++---
 2 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index d4fd8a85a8..f741ddbade 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2022-10-27  Gavin Smith  <gavinsmith0123@gmail.com>
+
+       * tp/t/paragraph.t: use intended formatter in tests
+
 2022-10-27  Gavin Smith  <gavinsmith0123@gmail.com>
 
        * tp/Texinfo/Convert/Line.pm: remove
diff --git a/tp/t/paragraph.t b/tp/t/paragraph.t
index de5d0b342f..82737b8b91 100644
--- a/tp/t/paragraph.t
+++ b/tp/t/paragraph.t
@@ -545,7 +545,7 @@ $result .= add_text($line, ' after');
 $result .= Texinfo::Convert::Paragraph::end($line);
 is ($result, "aa.)_  after", 'line add char after end sentence');
 
-$para = _new_line_formatter();
+$line = _new_line_formatter();
 $result = '';
 $result .= end_line($line);
 $result .= add_text($line, ' after');
@@ -572,7 +572,7 @@ is ($result, "\n", 'line call end_line after 
add_pending_word');
 $result = Texinfo::Convert::Paragraph::end($line);
 is ($result, "", 'line call end after end_line');
 
-$para = _new_line_formatter();
+$line = _new_line_formatter();
 $result = '';
 $result .= add_text($line, 'aa.)');
 $result .= add_pending_word($line);
@@ -580,7 +580,7 @@ $result .= add_text($line, ' after');
 $result .= Texinfo::Convert::Paragraph::end($line);
 is ($result, "aa.)  after", 'line space after sentence and add_pending_word');
 
-$para = _new_line_formatter();
+$line = _new_line_formatter();
 $result = '';
 $result .= add_text($line, 'aA');
 $result .= add_next($line, '.');



reply via email to

[Prev in Thread] Current Thread [Next in Thread]