texinfo-commits
[Top][All Lists]
Advanced

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

branch master updated: Fix for make po-check


From: Gavin D. Smith
Subject: branch master updated: Fix for make po-check
Date: Tue, 16 Feb 2021 15:51:17 -0500

This is an automated email from the git hooks/post-receive script.

gavin pushed a commit to branch master
in repository texinfo.

The following commit(s) were added to refs/heads/master by this push:
     new c7f369b  Fix for make po-check
c7f369b is described below

commit c7f369bcd5e9eff942bcaa2ea37d173d05433c70
Author: Gavin Smith <gavinsmith0123@gmail.com>
AuthorDate: Tue Feb 16 20:51:10 2021 +0000

    Fix for make po-check
    
    * tp/t/html_tests.t (example_class): Change test to avoid false
    positive with "make po-check".
---
 ChangeLog                                | 7 +++++++
 tp/t/html_tests.t                        | 2 +-
 tp/t/results/html_tests/example_class.pl | 8 ++++----
 3 files changed, 12 insertions(+), 5 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index ad60d7e..0672d43 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
 2021-02-16  Gavin Smith  <gavinsmith0123@gmail.com>
 
+       Fix for make po-check
+
+       * tp/t/html_tests.t (example_class): Change test to avoid false
+       positive with "make po-check".
+
+2021-02-16  Gavin Smith  <gavinsmith0123@gmail.com>
+
        Fix for make ccheck
 
        * doc/refcard/txirefcard.tex: Update to 6.8, 2021.  Remove
diff --git a/tp/t/html_tests.t b/tp/t/html_tests.t
index a2c1b32..6854dd3 100644
--- a/tp/t/html_tests.t
+++ b/tp/t/html_tests.t
@@ -263,7 +263,7 @@ In top.
 '@example perl
 foreach my $unclosed_file (keys(%unclosed_files)) @{
   if (!close($unclosed_files@{$unclosed_file@})) @{
-    warn(sprintf(__("%s: error on closing %s: %s\n"),
+    warn(sprintf("%s: error on closing %s: %s\n",
                      $real_command_name, $unclosed_file, $!));
     $error_count++;
     _exit($error_count, \@@opened_files);
diff --git a/tp/t/results/html_tests/example_class.pl 
b/tp/t/results/html_tests/example_class.pl
index 1e319af..1809a5f 100644
--- a/tp/t/results/html_tests/example_class.pl
+++ b/tp/t/results/html_tests/example_class.pl
@@ -72,7 +72,7 @@ $result_trees{'example_class'} = {
             },
             {
               'parent' => {},
-              'text' => '    warn(sprintf(__("%s: error on closing %s: %s\\n"),
+              'text' => '    warn(sprintf("%s: error on closing %s: %s\\n",
 '
             },
             {
@@ -202,7 +202,7 @@ $result_trees{'example_class'}{'contents'}[0]{'parent'} = 
$result_trees{'example
 $result_texis{'example_class'} = '@example perl
 foreach my $unclosed_file (keys(%unclosed_files)) @{
   if (!close($unclosed_files@{$unclosed_file@})) @{
-    warn(sprintf(__("%s: error on closing %s: %s\\n"),
+    warn(sprintf("%s: error on closing %s: %s\\n",
                      $real_command_name, $unclosed_file, $!));
     $error_count++;
     _exit($error_count, \\@@opened_files);
@@ -214,7 +214,7 @@ foreach my $unclosed_file (keys(%unclosed_files)) @{
 
 $result_texts{'example_class'} = 'foreach my $unclosed_file 
(keys(%unclosed_files)) {
   if (!close($unclosed_files{$unclosed_file})) {
-    warn(sprintf(__("%s: error on closing %s: %s\\n"),
+    warn(sprintf("%s: error on closing %s: %s\\n",
                      $real_command_name, $unclosed_file, $!));
     $error_count++;
     _exit($error_count, \\@opened_files);
@@ -267,7 +267,7 @@ ul.no-bullet {list-style: none}
 <div class="example perl">
 <pre class="example">foreach my $unclosed_file (keys(%unclosed_files)) {
   if (!close($unclosed_files{$unclosed_file})) {
-    warn(sprintf(__(&quot;%s: error on closing %s: %s\\n&quot;),
+    warn(sprintf(&quot;%s: error on closing %s: %s\\n&quot;,
                      $real_command_name, $unclosed_file, $!));
     $error_count++;
     _exit($error_count, \\@opened_files);



reply via email to

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