texinfo-commits
[Top][All Lists]
Advanced

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

[no subject]


From: Patrice Dumas
Date: Fri, 28 Oct 2022 03:56:02 -0400 (EDT)

branch: cust-translations
commit f15ced3fa279e1cf51d9707734d49846b79851e7
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 e694e6b0a6..776be6ab68 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -14,6 +14,10 @@
        Set the new translatable string entry with context in po files to the
        previous translation for po files involved in tests.
 
+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]