texinfo-commits
[Top][All Lists]
Advanced

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

[no subject]


From: Patrice Dumas
Date: Mon, 23 Dec 2024 18:58:54 -0500 (EST)

branch: master
commit 41086bdc9982b2c4e20bbef39fdb6be724c3883b
Author: Patrice Dumas <pertusus@free.fr>
AuthorDate: Sat Dec 21 21:52:23 2024 +0100

    * tp/Texinfo/Common.pm (%valid_transformation), tp/t/test_utils.pl
    (test): fix spelling of relate_index_entries_to_table_items.  Update
    tests using that transformation.
---
 ChangeLog               | 6 ++++++
 tp/Texinfo/Common.pm    | 2 +-
 tp/t/22xtable.t         | 2 +-
 tp/t/converters_tests.t | 2 +-
 tp/t/test_utils.pl      | 2 +-
 tp/t/transformations.t  | 8 ++++----
 6 files changed, 14 insertions(+), 8 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 155183d7e5..8a1761d223 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2024-12-21  Patrice Dumas  <pertusus@free.fr>
+
+       * tp/Texinfo/Common.pm (%valid_transformation), tp/t/test_utils.pl
+       (test): fix spelling of relate_index_entries_to_table_items.  Update
+       tests using that transformation.
+
 2024-12-21  Patrice Dumas  <pertusus@free.fr>
 
        * tp/texi2any.pl: remove end of line in translated string.
diff --git a/tp/Texinfo/Common.pm b/tp/Texinfo/Common.pm
index 6437c8492e..3b96c29d6e 100644
--- a/tp/Texinfo/Common.pm
+++ b/tp/Texinfo/Common.pm
@@ -263,7 +263,7 @@ sub get_build_constant($)
 my %valid_tree_transformations;
 foreach my $valid_transformation (
     'fill_gaps_in_sectioning', 'move_index_entries_after_items',
-    'relate_index_entries_to_items',
+    'relate_index_entries_to_table_items',
     'insert_nodes_for_sectioning_commands',
     'complete_tree_nodes_menus',
     'complete_tree_nodes_missing_menu',
diff --git a/tp/t/22xtable.t b/tp/t/22xtable.t
index 1f98dcb1d5..2ef4f8c17c 100644
--- a/tp/t/22xtable.t
+++ b/tp/t/22xtable.t
@@ -241,7 +241,7 @@ GGGG
 HHHHHH
 @end table
 ',
-{'TREE_TRANSFORMATIONS' => 'relate_index_entries_to_items'}
+{'TREE_TRANSFORMATIONS' => 'relate_index_entries_to_table_items'}
 ],
 ['block_commands_in_table',
 '@node Top
diff --git a/tp/t/converters_tests.t b/tp/t/converters_tests.t
index 45909e6270..f4170e33bd 100644
--- a/tp/t/converters_tests.t
+++ b/tp/t/converters_tests.t
@@ -1445,7 +1445,7 @@ undef,{'test_file' => 'simplest.texi',},
 undef, {'test_file' => 
'../../tests/formatting/indices_in_begin_tables_lists.texi'},
 {'SPLIT' => '', 'USE_NODES' => 0}],
 # HTML still different from tests/indices indices_in_begin_tables_lists,
-# as there is no relate_index_entries_to_items tree transformation
+# as there is no relate_index_entries_to_table_items tree transformation
 ['indices_in_begin_tables_lists_entries_after_item',
 undef, {'test_file' => 
'../../tests/formatting/indices_in_begin_tables_lists.texi',
         'TREE_TRANSFORMATIONS' => 'move_index_entries_after_items'},
diff --git a/tp/t/test_utils.pl b/tp/t/test_utils.pl
index 509ab51266..6830903860 100644
--- a/tp/t/test_utils.pl
+++ b/tp/t/test_utils.pl
@@ -1146,7 +1146,7 @@ sub test($$)
     Texinfo::Transformations::fill_gaps_in_sectioning($tree);
   }
 
-  if ($tree_transformations{'relate_index_entries_to_items'}) {
+  if ($tree_transformations{'relate_index_entries_to_table_items'}) {
     Texinfo::ManipulateTree::relate_index_entries_to_table_items_in_tree(
                                                                    $document);
   }
diff --git a/tp/t/transformations.t b/tp/t/transformations.t
index 2618ab10dc..7f79afb0ee 100644
--- a/tp/t/transformations.t
+++ b/tp/t/transformations.t
@@ -122,19 +122,19 @@ my @tests_converted = (
   {'FORMAT_MENU' => 'menu'},
 ],
 # in the test suite, no transformation is set up in the default case.
-# Therefore in the next test there is no relate_index_entries_to_items
+# Therefore in the next test there is no relate_index_entries_to_table_items
 # transformation used even when HTML is output.  With texi2any, outputting
-# HTML sets the relate_index_entries_to_items transformation (tested in
+# HTML sets the relate_index_entries_to_table_items transformation (tested in
 # tests/indices index_entries_relate_to_item).
 ['index_entries_relate_to_item_no_transformation',
   undef,
   {'test_file' => '../../tests/formatting/index_entries_relate_to_item.texi'},
 ],
-# test relate_index_entries_to_items transformation
+# test relate_index_entries_to_table_items transformation
 ['index_entries_relate_to_item_transformation',
   undef,
   {'test_file' => '../../tests/formatting/index_entries_relate_to_item.texi',
-   'TREE_TRANSFORMATIONS' => 'relate_index_entries_to_items'},
+   'TREE_TRANSFORMATIONS' => 'relate_index_entries_to_table_items'},
 ],);
 
 foreach my $test (@tests_converted) {



reply via email to

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