texinfo-commits
[Top][All Lists]
Advanced

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

branch master updated: * tp/t/30sectioning.t: modify node name for two_n


From: Patrice Dumas
Subject: branch master updated: * tp/t/30sectioning.t: modify node name for two_nodes_at_the_end to be more in line with the test content.
Date: Sun, 12 Mar 2023 07:30:30 -0400

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

pertusus pushed a commit to branch master
in repository texinfo.

The following commit(s) were added to refs/heads/master by this push:
     new 706e2da1b1 * tp/t/30sectioning.t: modify node name for 
two_nodes_at_the_end to be more in line with the test content.
706e2da1b1 is described below

commit 706e2da1b1d524789c69125f9a291767c4b9778c
Author: Patrice Dumas <pertusus@free.fr>
AuthorDate: Sun Mar 12 12:29:36 2023 +0100

    * tp/t/30sectioning.t: modify node name for two_nodes_at_the_end to be
    more in line with the test content.
---
 ChangeLog                                          |  5 +++++
 tp/t/30sectioning.t                                |  4 ++--
 tp/t/results/sectioning/two_nodes_at_the_end.pl    | 26 +++++++++++-----------
 .../sectioning/two_nodes_at_the_end_nodes.pl       | 18 +++++++--------
 ...-chapter-2.html => last-node-in-chapter-1.html} | 10 ++++-----
 .../res_html/node-after-chapter-1.html             |  4 ++--
 .../sectioning/two_nodes_at_the_end_texi2html.pl   | 18 +++++++--------
 .../res_html/two_nodes_at_the_end_texi2html.html   |  4 ++--
 8 files changed, 47 insertions(+), 42 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 2a137acc3b..baf297d6b8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2023-03-12  Patrice Dumas  <pertusus@free.fr>
+
+       * tp/t/30sectioning.t: modify node name for two_nodes_at_the_end to be
+       more in line with the test content.
+
 2023-03-12  Patrice Dumas  <pertusus@free.fr>
 
        * tp/Makefile.tres, tp/t/30sectioning.t: add
diff --git a/tp/t/30sectioning.t b/tp/t/30sectioning.t
index 19109808fe..76b76daebb 100644
--- a/tp/t/30sectioning.t
+++ b/tp/t/30sectioning.t
@@ -119,7 +119,7 @@ my $two_nodes_at_the_end_text = '@node Top
 @menu
 * chapter 1::
 * node after chapter 1::
-* node after chapter 2::
+* last node in chapter 1::
 @end menu
 
 @node chapter 1, node after chapter 1, Top, Top
@@ -129,7 +129,7 @@ my $two_nodes_at_the_end_text = '@node Top
 
 in node after chapter 1
 
-@node node after chapter 2
+@node last node in chapter 1
 ';
 
 my @tests_converted = (
diff --git a/tp/t/results/sectioning/two_nodes_at_the_end.pl 
b/tp/t/results/sectioning/two_nodes_at_the_end.pl
index f3413d04b9..db913b2494 100644
--- a/tp/t/results/sectioning/two_nodes_at_the_end.pl
+++ b/tp/t/results/sectioning/two_nodes_at_the_end.pl
@@ -188,14 +188,14 @@ $result_trees{'two_nodes_at_the_end'} = [
                   {
                     'contents' => [
                       {
-                        'text' => 'node after chapter 2'
+                        'text' => 'last node in chapter 1'
                       }
                     ],
                     'extra' => {
                       'node_content' => [
                         {}
                       ],
-                      'normalized' => 'node-after-chapter-2'
+                      'normalized' => 'last-node-in-chapter-1'
                     },
                     'type' => 'menu_entry_node'
                   },
@@ -472,7 +472,7 @@ $result_trees{'two_nodes_at_the_end'} = [
           {
             'contents' => [
               {
-                'text' => 'node after chapter 2'
+                'text' => 'last node in chapter 1'
               }
             ],
             'info' => {
@@ -486,7 +486,7 @@ $result_trees{'two_nodes_at_the_end'} = [
         ],
         'cmdname' => 'node',
         'extra' => {
-          'normalized' => 'node-after-chapter-2'
+          'normalized' => 'last-node-in-chapter-1'
         },
         'info' => {
           'spaces_before_argument' => {
@@ -521,7 +521,7 @@ $result_texis{'two_nodes_at_the_end'} = '@node Top
 @menu
 * chapter 1::
 * node after chapter 1::
-* node after chapter 2::
+* last node in chapter 1::
 @end menu
 
 @node chapter 1, node after chapter 1, Top, Top
@@ -531,7 +531,7 @@ $result_texis{'two_nodes_at_the_end'} = '@node Top
 
 in node after chapter 1
 
-@node node after chapter 2
+@node last node in chapter 1
 ';
 
 
@@ -540,7 +540,7 @@ $result_texts{'two_nodes_at_the_end'} = 'top
 
 * chapter 1::
 * node after chapter 1::
-* node after chapter 2::
+* last node in chapter 1::
 
 1 chapter c1
 ************
@@ -737,7 +737,7 @@ $result_nodes{'two_nodes_at_the_end'} = {
             'node_next' => {
               'cmdname' => 'node',
               'extra' => {
-                'normalized' => 'node-after-chapter-2'
+                'normalized' => 'last-node-in-chapter-1'
               },
               'structure' => {
                 'associated_unit' => {},
@@ -857,7 +857,7 @@ $result_menus{'two_nodes_at_the_end'} = {
             'menu_next' => {
               'cmdname' => 'node',
               'extra' => {
-                'normalized' => 'node-after-chapter-2'
+                'normalized' => 'last-node-in-chapter-1'
               },
               'structure' => {
                 'associated_unit' => {},
@@ -1060,18 +1060,18 @@ Next: <a href="#node-after-chapter-1" accesskey="n" 
rel="next">node after chapte
 <hr>
 <a class="node-id" id="node-after-chapter-1"></a><div class="nav-panel">
 <p>
-Next: <a href="#node-after-chapter-2" accesskey="n" rel="next">node after 
chapter 2</a>, Previous: <a href="#chapter-1" accesskey="p" rel="prev">chapter 
c1</a>, Up: <a href="#Top" accesskey="u" rel="up">top</a> &nbsp; </p>
+Next: <a href="#last-node-in-chapter-1" accesskey="n" rel="next">last node in 
chapter 1</a>, Previous: <a href="#chapter-1" accesskey="p" rel="prev">chapter 
c1</a>, Up: <a href="#Top" accesskey="u" rel="up">top</a> &nbsp; </p>
 </div>
 <h4 class="node"><span>node after chapter 1<a class="copiable-link" 
href="#node-after-chapter-1"> &para;</a></span></h4>
 
 <p>in node after chapter 1
 </p>
 <hr>
-<a class="node-id" id="node-after-chapter-2"></a><div class="nav-panel">
+<a class="node-id" id="last-node-in-chapter-1"></a><div class="nav-panel">
 <p>
 Previous: <a href="#node-after-chapter-1" accesskey="p" rel="prev">node after 
chapter 1</a>, Up: <a href="#Top" accesskey="u" rel="up">top</a> &nbsp; </p>
 </div>
-<h4 class="node"><span>node after chapter 2<a class="copiable-link" 
href="#node-after-chapter-2"> &para;</a></span></h4>
+<h4 class="node"><span>last node in chapter 1<a class="copiable-link" 
href="#last-node-in-chapter-1"> &para;</a></span></h4>
 </div>
 </div>
 
@@ -1091,7 +1091,7 @@ $result_converted{'latex_text'}->{'two_nodes_at_the_end'} 
= '\\begin{document}
 
 in node after chapter 1
 
-\\label{anchor:node-after-chapter-2}%
+\\label{anchor:last-node-in-chapter-1}%
 ';
 
 1;
diff --git a/tp/t/results/sectioning/two_nodes_at_the_end_nodes.pl 
b/tp/t/results/sectioning/two_nodes_at_the_end_nodes.pl
index 6d3c936420..37191be762 100644
--- a/tp/t/results/sectioning/two_nodes_at_the_end_nodes.pl
+++ b/tp/t/results/sectioning/two_nodes_at_the_end_nodes.pl
@@ -181,14 +181,14 @@ $result_trees{'two_nodes_at_the_end_nodes'} = {
                 {
                   'contents' => [
                     {
-                      'text' => 'node after chapter 2'
+                      'text' => 'last node in chapter 1'
                     }
                   ],
                   'extra' => {
                     'node_content' => [
                       {}
                     ],
-                    'normalized' => 'node-after-chapter-2'
+                    'normalized' => 'last-node-in-chapter-1'
                   },
                   'type' => 'menu_entry_node'
                 },
@@ -457,7 +457,7 @@ $result_trees{'two_nodes_at_the_end_nodes'} = {
         {
           'contents' => [
             {
-              'text' => 'node after chapter 2'
+              'text' => 'last node in chapter 1'
             }
           ],
           'info' => {
@@ -471,7 +471,7 @@ $result_trees{'two_nodes_at_the_end_nodes'} = {
       ],
       'cmdname' => 'node',
       'extra' => {
-        'normalized' => 'node-after-chapter-2'
+        'normalized' => 'last-node-in-chapter-1'
       },
       'info' => {
         'spaces_before_argument' => {
@@ -500,7 +500,7 @@ $result_texis{'two_nodes_at_the_end_nodes'} = '@node Top
 @menu
 * chapter 1::
 * node after chapter 1::
-* node after chapter 2::
+* last node in chapter 1::
 @end menu
 
 @node chapter 1, node after chapter 1, Top, Top
@@ -510,7 +510,7 @@ $result_texis{'two_nodes_at_the_end_nodes'} = '@node Top
 
 in node after chapter 1
 
-@node node after chapter 2
+@node last node in chapter 1
 ';
 
 
@@ -519,7 +519,7 @@ $result_texts{'two_nodes_at_the_end_nodes'} = 'top
 
 * chapter 1::
 * node after chapter 1::
-* node after chapter 2::
+* last node in chapter 1::
 
 1 chapter c1
 ************
@@ -616,7 +616,7 @@ $result_nodes{'two_nodes_at_the_end_nodes'} = {
             'node_next' => {
               'cmdname' => 'node',
               'extra' => {
-                'normalized' => 'node-after-chapter-2'
+                'normalized' => 'last-node-in-chapter-1'
               },
               'structure' => {
                 'node_prev' => {},
@@ -663,7 +663,7 @@ $result_menus{'two_nodes_at_the_end_nodes'} = {
             'menu_next' => {
               'cmdname' => 'node',
               'extra' => {
-                'normalized' => 'node-after-chapter-2'
+                'normalized' => 'last-node-in-chapter-1'
               },
               'structure' => {
                 'menu_prev' => {},
diff --git 
a/tp/t/results/sectioning/two_nodes_at_the_end_nodes/res_html/node-after-chapter-2.html
 
b/tp/t/results/sectioning/two_nodes_at_the_end_nodes/res_html/last-node-in-chapter-1.html
similarity index 70%
rename from 
tp/t/results/sectioning/two_nodes_at_the_end_nodes/res_html/node-after-chapter-2.html
rename to 
tp/t/results/sectioning/two_nodes_at_the_end_nodes/res_html/last-node-in-chapter-1.html
index 0c3d1ca186..a5460cba01 100644
--- 
a/tp/t/results/sectioning/two_nodes_at_the_end_nodes/res_html/node-after-chapter-2.html
+++ 
b/tp/t/results/sectioning/two_nodes_at_the_end_nodes/res_html/last-node-in-chapter-1.html
@@ -3,10 +3,10 @@
 <!-- Created by texinfo, http://www.gnu.org/software/texinfo/ -->
 <head>
 <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
-<title>node after chapter 2 (top)</title>
+<title>last node in chapter 1 (top)</title>
 
-<meta name="description" content="node after chapter 2 (top)">
-<meta name="keywords" content="node after chapter 2 (top)">
+<meta name="description" content="last node in chapter 1 (top)">
+<meta name="keywords" content="last node in chapter 1 (top)">
 <meta name="resource-type" content="document">
 <meta name="distribution" content="global">
 <meta name="viewport" content="width=device-width,initial-scale=1">
@@ -25,12 +25,12 @@ span:hover a.copiable-link {visibility: visible}
 </head>
 
 <body lang="en">
-<a class="node-id" id="node-after-chapter-2"></a><div class="nav-panel">
+<a class="node-id" id="last-node-in-chapter-1"></a><div class="nav-panel">
 <p>
 Previous: <a href="node-after-chapter-1.html" accesskey="p" rel="prev">node 
after chapter 1</a>, Up: <a href="index.html" accesskey="u" rel="up">top</a> 
&nbsp; </p>
 </div>
 <hr>
-<h4 class="node"><span>node after chapter 2<a class="copiable-link" 
href="#node-after-chapter-2"> &para;</a></span></h4>
+<h4 class="node"><span>last node in chapter 1<a class="copiable-link" 
href="#last-node-in-chapter-1"> &para;</a></span></h4>
 
 
 
diff --git 
a/tp/t/results/sectioning/two_nodes_at_the_end_nodes/res_html/node-after-chapter-1.html
 
b/tp/t/results/sectioning/two_nodes_at_the_end_nodes/res_html/node-after-chapter-1.html
index 368c780879..503ec1ba70 100644
--- 
a/tp/t/results/sectioning/two_nodes_at_the_end_nodes/res_html/node-after-chapter-1.html
+++ 
b/tp/t/results/sectioning/two_nodes_at_the_end_nodes/res_html/node-after-chapter-1.html
@@ -13,7 +13,7 @@
 
 <link href="index.html" rel="start" title="Top">
 <link href="index.html" rel="up" title="Top">
-<link href="node-after-chapter-2.html" rel="next" title="node after chapter 2">
+<link href="last-node-in-chapter-1.html" rel="next" title="last node in 
chapter 1">
 <link href="chapter-1.html" rel="prev" title="chapter 1">
 <style type="text/css">
 <!--
@@ -28,7 +28,7 @@ span:hover a.copiable-link {visibility: visible}
 <body lang="en">
 <a class="node-id" id="node-after-chapter-1"></a><div class="nav-panel">
 <p>
-Next: <a href="node-after-chapter-2.html" accesskey="n" rel="next">node after 
chapter 2</a>, Previous: <a href="chapter-1.html" accesskey="p" 
rel="prev">chapter c1</a>, Up: <a href="index.html" accesskey="u" 
rel="up">top</a> &nbsp; </p>
+Next: <a href="last-node-in-chapter-1.html" accesskey="n" rel="next">last node 
in chapter 1</a>, Previous: <a href="chapter-1.html" accesskey="p" 
rel="prev">chapter c1</a>, Up: <a href="index.html" accesskey="u" 
rel="up">top</a> &nbsp; </p>
 </div>
 <hr>
 <h4 class="node"><span>node after chapter 1<a class="copiable-link" 
href="#node-after-chapter-1"> &para;</a></span></h4>
diff --git a/tp/t/results/sectioning/two_nodes_at_the_end_texi2html.pl 
b/tp/t/results/sectioning/two_nodes_at_the_end_texi2html.pl
index e621732790..f11aba293f 100644
--- a/tp/t/results/sectioning/two_nodes_at_the_end_texi2html.pl
+++ b/tp/t/results/sectioning/two_nodes_at_the_end_texi2html.pl
@@ -181,14 +181,14 @@ $result_trees{'two_nodes_at_the_end_texi2html'} = {
                 {
                   'contents' => [
                     {
-                      'text' => 'node after chapter 2'
+                      'text' => 'last node in chapter 1'
                     }
                   ],
                   'extra' => {
                     'node_content' => [
                       {}
                     ],
-                    'normalized' => 'node-after-chapter-2'
+                    'normalized' => 'last-node-in-chapter-1'
                   },
                   'type' => 'menu_entry_node'
                 },
@@ -457,7 +457,7 @@ $result_trees{'two_nodes_at_the_end_texi2html'} = {
         {
           'contents' => [
             {
-              'text' => 'node after chapter 2'
+              'text' => 'last node in chapter 1'
             }
           ],
           'info' => {
@@ -471,7 +471,7 @@ $result_trees{'two_nodes_at_the_end_texi2html'} = {
       ],
       'cmdname' => 'node',
       'extra' => {
-        'normalized' => 'node-after-chapter-2'
+        'normalized' => 'last-node-in-chapter-1'
       },
       'info' => {
         'spaces_before_argument' => {
@@ -500,7 +500,7 @@ $result_texis{'two_nodes_at_the_end_texi2html'} = '@node Top
 @menu
 * chapter 1::
 * node after chapter 1::
-* node after chapter 2::
+* last node in chapter 1::
 @end menu
 
 @node chapter 1, node after chapter 1, Top, Top
@@ -510,7 +510,7 @@ $result_texis{'two_nodes_at_the_end_texi2html'} = '@node Top
 
 in node after chapter 1
 
-@node node after chapter 2
+@node last node in chapter 1
 ';
 
 
@@ -519,7 +519,7 @@ $result_texts{'two_nodes_at_the_end_texi2html'} = 'top
 
 * chapter 1::
 * node after chapter 1::
-* node after chapter 2::
+* last node in chapter 1::
 
 1 chapter c1
 ************
@@ -616,7 +616,7 @@ $result_nodes{'two_nodes_at_the_end_texi2html'} = {
             'node_next' => {
               'cmdname' => 'node',
               'extra' => {
-                'normalized' => 'node-after-chapter-2'
+                'normalized' => 'last-node-in-chapter-1'
               },
               'structure' => {
                 'node_prev' => {},
@@ -663,7 +663,7 @@ $result_menus{'two_nodes_at_the_end_texi2html'} = {
             'menu_next' => {
               'cmdname' => 'node',
               'extra' => {
-                'normalized' => 'node-after-chapter-2'
+                'normalized' => 'last-node-in-chapter-1'
               },
               'structure' => {
                 'menu_prev' => {},
diff --git 
a/tp/t/results/sectioning/two_nodes_at_the_end_texi2html/res_html/two_nodes_at_the_end_texi2html.html
 
b/tp/t/results/sectioning/two_nodes_at_the_end_texi2html/res_html/two_nodes_at_the_end_texi2html.html
index a533311c10..8034b77546 100644
--- 
a/tp/t/results/sectioning/two_nodes_at_the_end_texi2html/res_html/two_nodes_at_the_end_texi2html.html
+++ 
b/tp/t/results/sectioning/two_nodes_at_the_end_texi2html/res_html/two_nodes_at_the_end_texi2html.html
@@ -43,7 +43,7 @@ td.name-direction-about {text-align:center}
 </td></tr>
 <tr><td class="menu-entry-destination">&bull; <a 
href="#node-after-chapter-1">node after chapter 
1</a></td><td>&nbsp;&nbsp;</td><td class="menu-entry-description">
 </td></tr>
-<tr><td class="menu-entry-destination">&bull; <a 
href="#node-after-chapter-2">node after chapter 
2</a></td><td>&nbsp;&nbsp;</td><td class="menu-entry-description">
+<tr><td class="menu-entry-destination">&bull; <a 
href="#last-node-in-chapter-1">last node in chapter 
1</a></td><td>&nbsp;&nbsp;</td><td class="menu-entry-description">
 </td></tr>
 </table>
 
@@ -69,7 +69,7 @@ td.name-direction-about {text-align:center}
 <a class="node" id="node-after-chapter-1"></a>
 <p>in node after chapter 1
 </p>
-<a class="node" id="node-after-chapter-2"></a><hr style="height: 6px;">
+<a class="node" id="last-node-in-chapter-1"></a><hr style="height: 6px;">
 </div>
 </div>
 <div class="element-about" id="SEC_About">



reply via email to

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