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, 4 Oct 2024 19:57:19 -0400 (EDT)

branch: master
commit eb57078a73658be35c8158f63c694a789d11621d
Author: Patrice Dumas <pertusus@free.fr>
AuthorDate: Sat Aug 17 22:10:40 2024 +0200

    * tp/t/30sectioning.t (in_menu_only_special_spaces_node),
    tp/t/40moresectioning.t (only_special_spaces_node),
    tp/t/input_files/in_menu_only_special_spaces_node.texi,
    tp/t/input_files/only_special_spaces_node.texi: move TODO information
    out of texi files to .t files.
---
 ChangeLog                                               |  8 ++++++++
 tp/t/30sectioning.t                                     |  2 ++
 tp/t/40moresectioning.t                                 |  2 ++
 tp/t/input_files/in_menu_only_special_spaces_node.texi  |  3 +--
 tp/t/input_files/only_special_spaces_node.texi          |  3 +--
 tp/t/results/moresectioning/only_special_spaces_node.pl | 17 +++--------------
 .../sectioning/in_menu_only_special_spaces_node.pl      | 17 +++--------------
 .../sectioning/in_menu_only_special_spaces_node_menu.pl | 14 ++------------
 8 files changed, 22 insertions(+), 44 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 43ea6cb139..05cfae3b0d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2024-08-17  Patrice Dumas  <pertusus@free.fr>
+
+       * tp/t/30sectioning.t (in_menu_only_special_spaces_node),
+       tp/t/40moresectioning.t (only_special_spaces_node),
+       tp/t/input_files/in_menu_only_special_spaces_node.texi,
+       tp/t/input_files/only_special_spaces_node.texi: move TODO information
+       out of texi files to .t files.
+
 2024-08-17  Patrice Dumas  <pertusus@free.fr>
 
        * tp/Texinfo/XS/main/build_perl_info.c
diff --git a/tp/t/30sectioning.t b/tp/t/30sectioning.t
index df60af5e88..4618fd14e2 100644
--- a/tp/t/30sectioning.t
+++ b/tp/t/30sectioning.t
@@ -399,6 +399,8 @@ undef, {'test_file' => 
'in_menu_only_special_ascii_spaces_node.texi'}],
 ['in_menu_only_special_ascii_spaces_node_menu',
 undef, {'test_file' => 'in_menu_only_special_ascii_spaces_node.texi'},
 {'FORMAT_MENU' => 'menu'}],
+# TODO for LINE SEPARATOR and PARAGRAPH SEPARATOR Perl and XS code give
+# different width
 ['in_menu_only_special_spaces_node',
 undef, {'test_file' => 'in_menu_only_special_spaces_node.texi',
         'skip' => ($] < 5.014) ? 'Perl too old: /a regex flag needed' : undef, 
}],
diff --git a/tp/t/40moresectioning.t b/tp/t/40moresectioning.t
index 4f7ce32a98..dac6af0aa3 100644
--- a/tp/t/40moresectioning.t
+++ b/tp/t/40moresectioning.t
@@ -177,6 +177,8 @@ undef, {'test_file' => 
'character_and_spaces_in_refs_text.texi'}],
 ['special_spaces_in_nodes',
 undef, {'test_file' => 'special_spaces_in_nodes.texi',
         'skip' => ($] < 5.014) ? 'Perl too old: /a regex flag needed' : undef, 
}],
+# TODO for LINE SEPARATOR and PARAGRAPH SEPARATOR Perl and XS code give
+# different widtha.
 ['only_special_spaces_node',
 undef, {'test_file' => 'only_special_spaces_node.texi',
         'skip' => ($] < 5.018) ? 'Perl too old: LINE TABULATION in /a needed' 
: undef, }],
diff --git a/tp/t/input_files/in_menu_only_special_spaces_node.texi 
b/tp/t/input_files/in_menu_only_special_spaces_node.texi
index 8382bb2255..719a91a07a 100644
--- a/tp/t/input_files/in_menu_only_special_spaces_node.texi
+++ b/tp/t/input_files/in_menu_only_special_spaces_node.texi
@@ -31,8 +31,7 @@
 @node           
 @chapter THREE-PER-EM SPACE| | FOUR-PER-EM SPACE| | SIX-PER-EM SPACE| | FIGURE 
SPACE| | PUNCTUATION SPACE| | THIN SPACE| | HAIR SPACE| | NARROW NO-BREAK 
SPACE| | MEDIUM MATHEMATICAL SPACE| | IDEOGRAPHIC SPACE| |
 
-@c TODO perl and XS code give different width.  Beside width, those character 
should
-@c be handled explicitly in formatting.
+@c Perl and XS code give different width.
 @c @node 


 @c @chapter LINE SEPARATOR|
| PARAGRAPH SEPARATOR|
|
 
diff --git a/tp/t/input_files/only_special_spaces_node.texi 
b/tp/t/input_files/only_special_spaces_node.texi
index d1de35e1bf..50ca8db6ab 100644
--- a/tp/t/input_files/only_special_spaces_node.texi
+++ b/tp/t/input_files/only_special_spaces_node.texi
@@ -20,8 +20,7 @@
 @node           
 @chapter THREE-PER-EM SPACE| | FOUR-PER-EM SPACE| | SIX-PER-EM SPACE| | FIGURE 
SPACE| | PUNCTUATION SPACE| | THIN SPACE| | HAIR SPACE| | NARROW NO-BREAK 
SPACE| | MEDIUM MATHEMATICAL SPACE| | IDEOGRAPHIC SPACE| |
 
-@c TODO perl and XS code give different width.  Beside width, those character 
should
-@c be handled explicitly in formatting.
+@c Perl and XS code give different width.
 @c @node 


 @c @chapter LINE SEPARATOR|
| PARAGRAPH SEPARATOR|
|
 
diff --git a/tp/t/results/moresectioning/only_special_spaces_node.pl 
b/tp/t/results/moresectioning/only_special_spaces_node.pl
index d289b60261..edd165c0a0 100644
--- a/tp/t/results/moresectioning/only_special_spaces_node.pl
+++ b/tp/t/results/moresectioning/only_special_spaces_node.pl
@@ -454,16 +454,7 @@ $result_trees{'only_special_spaces_node'} = {
         {
           "args" => [
             {
-              "text" => " TODO perl and XS code give different width.  Beside 
width, those character should\n",
-              "type" => "rawline_arg"
-            }
-          ],
-          "cmdname" => "c"
-        },
-        {
-          "args" => [
-            {
-              "text" => " be handled explicitly in formatting.\n",
+              "text" => " Perl and XS code give different width.\n",
               "type" => "rawline_arg"
             }
           ],
@@ -540,8 +531,7 @@ $result_texis{'only_special_spaces_node'} = '
 @node           
 @chapter THREE-PER-EM SPACE| | FOUR-PER-EM SPACE| | SIX-PER-EM SPACE| | FIGURE 
SPACE| | PUNCTUATION SPACE| | THIN SPACE| | HAIR SPACE| | NARROW NO-BREAK 
SPACE| | MEDIUM MATHEMATICAL SPACE| | IDEOGRAPHIC SPACE| |
 
-@c TODO perl and XS code give different width.  Beside width, those character 
should
-@c be handled explicitly in formatting.
+@c Perl and XS code give different width.
 @c @node 


 @c @chapter LINE SEPARATOR|
| PARAGRAPH SEPARATOR|
|
 
@@ -1093,8 +1083,7 @@ $result_converted{'xml'}->{'only_special_spaces_node'} = 
'<preamblebeforebeginni
 <node name="_2004_2005_2006_2007_2008_2009_200a_202f_205f_3000" spaces=" 
"><nodename>          </nodename><nodeprev automatic="on">᠎ </nodeprev><nodeup 
automatic="on">Top</nodeup></node>
 <chapter spaces=" "><sectiontitle>THREE-PER-EM SPACE| | FOUR-PER-EM SPACE| | 
SIX-PER-EM SPACE| | FIGURE SPACE| | PUNCTUATION SPACE| | THIN SPACE| | HAIR 
SPACE| | NARROW NO-BREAK SPACE| | MEDIUM MATHEMATICAL SPACE| | IDEOGRAPHIC 
SPACE| |</sectiontitle>
 
-<!-- c TODO perl and XS code give different width.  Beside width, those 
character should -->
-<!-- c be handled explicitly in formatting. -->
+<!-- c Perl and XS code give different width. -->
 <!-- c @node 

 -->
 <!-- c @chapter LINE SEPARATOR|
| PARAGRAPH SEPARATOR|
| -->
 
diff --git a/tp/t/results/sectioning/in_menu_only_special_spaces_node.pl 
b/tp/t/results/sectioning/in_menu_only_special_spaces_node.pl
index d45295cc18..02b598a9c7 100644
--- a/tp/t/results/sectioning/in_menu_only_special_spaces_node.pl
+++ b/tp/t/results/sectioning/in_menu_only_special_spaces_node.pl
@@ -770,16 +770,7 @@ $result_trees{'in_menu_only_special_spaces_node'} = {
         {
           "args" => [
             {
-              "text" => " TODO perl and XS code give different width.  Beside 
width, those character should\n",
-              "type" => "rawline_arg"
-            }
-          ],
-          "cmdname" => "c"
-        },
-        {
-          "args" => [
-            {
-              "text" => " be handled explicitly in formatting.\n",
+              "text" => " Perl and XS code give different width.\n",
               "type" => "rawline_arg"
             }
           ],
@@ -871,8 +862,7 @@ $result_texis{'in_menu_only_special_spaces_node'} = '
 @node           
 @chapter THREE-PER-EM SPACE| | FOUR-PER-EM SPACE| | SIX-PER-EM SPACE| | FIGURE 
SPACE| | PUNCTUATION SPACE| | THIN SPACE| | HAIR SPACE| | NARROW NO-BREAK 
SPACE| | MEDIUM MATHEMATICAL SPACE| | IDEOGRAPHIC SPACE| |
 
-@c TODO perl and XS code give different width.  Beside width, those character 
should
-@c be handled explicitly in formatting.
+@c Perl and XS code give different width.
 @c @node 


 @c @chapter LINE SEPARATOR|
| PARAGRAPH SEPARATOR|
|
 
@@ -1510,8 +1500,7 @@ 
$result_converted{'xml'}->{'in_menu_only_special_spaces_node'} = '<preamblebefor
 <node name="_2004_2005_2006_2007_2008_2009_200a_202f_205f_3000" spaces=" 
"><nodename>          </nodename><nodeprev automatic="on">᠎ </nodeprev><nodeup 
automatic="on">Top</nodeup></node>
 <chapter spaces=" "><sectiontitle>THREE-PER-EM SPACE| | FOUR-PER-EM SPACE| | 
SIX-PER-EM SPACE| | FIGURE SPACE| | PUNCTUATION SPACE| | THIN SPACE| | HAIR 
SPACE| | NARROW NO-BREAK SPACE| | MEDIUM MATHEMATICAL SPACE| | IDEOGRAPHIC 
SPACE| |</sectiontitle>
 
-<!-- c TODO perl and XS code give different width.  Beside width, those 
character should -->
-<!-- c be handled explicitly in formatting. -->
+<!-- c Perl and XS code give different width. -->
 <!-- c @node 

 -->
 <!-- c @chapter LINE SEPARATOR|
| PARAGRAPH SEPARATOR|
| -->
 
diff --git a/tp/t/results/sectioning/in_menu_only_special_spaces_node_menu.pl 
b/tp/t/results/sectioning/in_menu_only_special_spaces_node_menu.pl
index e4229c26f1..db56ab7aa0 100644
--- a/tp/t/results/sectioning/in_menu_only_special_spaces_node_menu.pl
+++ b/tp/t/results/sectioning/in_menu_only_special_spaces_node_menu.pl
@@ -770,16 +770,7 @@ $result_trees{'in_menu_only_special_spaces_node_menu'} = {
         {
           "args" => [
             {
-              "text" => " TODO perl and XS code give different width.  Beside 
width, those character should\n",
-              "type" => "rawline_arg"
-            }
-          ],
-          "cmdname" => "c"
-        },
-        {
-          "args" => [
-            {
-              "text" => " be handled explicitly in formatting.\n",
+              "text" => " Perl and XS code give different width.\n",
               "type" => "rawline_arg"
             }
           ],
@@ -871,8 +862,7 @@ $result_texis{'in_menu_only_special_spaces_node_menu'} = '
 @node           
 @chapter THREE-PER-EM SPACE| | FOUR-PER-EM SPACE| | SIX-PER-EM SPACE| | FIGURE 
SPACE| | PUNCTUATION SPACE| | THIN SPACE| | HAIR SPACE| | NARROW NO-BREAK 
SPACE| | MEDIUM MATHEMATICAL SPACE| | IDEOGRAPHIC SPACE| |
 
-@c TODO perl and XS code give different width.  Beside width, those character 
should
-@c be handled explicitly in formatting.
+@c Perl and XS code give different width.
 @c @node 


 @c @chapter LINE SEPARATOR|
| PARAGRAPH SEPARATOR|
|
 



reply via email to

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