texinfo-commits
[Top][All Lists]
Advanced

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

branch master updated: Test empty line between brace command and the bra


From: Patrice Dumas
Subject: branch master updated: Test empty line between brace command and the brace
Date: Sat, 27 Aug 2022 02:08:54 -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 d407550022 Test empty line between brace command and the brace
d407550022 is described below

commit d407550022e997314e6b1909185f913b398f76b2
Author: Patrice Dumas <pertusus@free.fr>
AuthorDate: Sat Aug 27 08:08:21 2022 +0200

    Test empty line between brace command and the brace
---
 tp/t/02coverage.t                                  |  4 ++
 .../coverage/spaces_after_braced_command.pl        | 48 ++++++++++++++++++++++
 2 files changed, 52 insertions(+)

diff --git a/tp/t/02coverage.t b/tp/t/02coverage.t
index 845f7e44d8..87695c3e9d 100644
--- a/tp/t/02coverage.t
+++ b/tp/t/02coverage.t
@@ -665,6 +665,10 @@ cut by blank line}
 
 @samp
 {v}
+
+@TeX
+
+{}
 '],
 ['spaces_no_brace_after_braced_command',
 '@code b
diff --git a/tp/t/results/coverage/spaces_after_braced_command.pl 
b/tp/t/results/coverage/spaces_after_braced_command.pl
index 2c4290fa99..354f25cb63 100644
--- a/tp/t/results/coverage/spaces_after_braced_command.pl
+++ b/tp/t/results/coverage/spaces_after_braced_command.pl
@@ -82,6 +82,44 @@ $result_trees{'spaces_after_braced_command'} = {
             {
               'parent' => {},
               'text' => '
+'
+            }
+          ],
+          'parent' => {},
+          'type' => 'paragraph'
+        },
+        {
+          'parent' => {},
+          'text' => '
+',
+          'type' => 'empty_line'
+        },
+        {
+          'contents' => [
+            {
+              'args' => [
+                {
+                  'contents' => [],
+                  'parent' => {},
+                  'type' => 'brace_command_arg'
+                }
+              ],
+              'cmdname' => 'TeX',
+              'contents' => [],
+              'extra' => {
+                'spaces' => '
+'
+              },
+              'parent' => {},
+              'source_info' => {
+                'file_name' => '',
+                'line_nr' => 6,
+                'macro' => ''
+              }
+            },
+            {
+              'parent' => {},
+              'text' => '
 '
             }
           ],
@@ -106,18 +144,28 @@ 
$result_trees{'spaces_after_braced_command'}{'contents'}[0]{'contents'}[2]{'cont
 
$result_trees{'spaces_after_braced_command'}{'contents'}[0]{'contents'}[2]{'contents'}[0]{'parent'}
 = $result_trees{'spaces_after_braced_command'}{'contents'}[0]{'contents'}[2];
 
$result_trees{'spaces_after_braced_command'}{'contents'}[0]{'contents'}[2]{'contents'}[1]{'parent'}
 = $result_trees{'spaces_after_braced_command'}{'contents'}[0]{'contents'}[2];
 
$result_trees{'spaces_after_braced_command'}{'contents'}[0]{'contents'}[2]{'parent'}
 = $result_trees{'spaces_after_braced_command'}{'contents'}[0];
+$result_trees{'spaces_after_braced_command'}{'contents'}[0]{'contents'}[3]{'parent'}
 = $result_trees{'spaces_after_braced_command'}{'contents'}[0];
+$result_trees{'spaces_after_braced_command'}{'contents'}[0]{'contents'}[4]{'contents'}[0]{'args'}[0]{'parent'}
 = 
$result_trees{'spaces_after_braced_command'}{'contents'}[0]{'contents'}[4]{'contents'}[0];
+$result_trees{'spaces_after_braced_command'}{'contents'}[0]{'contents'}[4]{'contents'}[0]{'parent'}
 = $result_trees{'spaces_after_braced_command'}{'contents'}[0]{'contents'}[4];
+$result_trees{'spaces_after_braced_command'}{'contents'}[0]{'contents'}[4]{'contents'}[1]{'parent'}
 = $result_trees{'spaces_after_braced_command'}{'contents'}[0]{'contents'}[4];
+$result_trees{'spaces_after_braced_command'}{'contents'}[0]{'contents'}[4]{'parent'}
 = $result_trees{'spaces_after_braced_command'}{'contents'}[0];
 $result_trees{'spaces_after_braced_command'}{'contents'}[0]{'parent'} = 
$result_trees{'spaces_after_braced_command'};
 
 $result_texis{'spaces_after_braced_command'} = '@code {b}
 
 @samp
 {v}
+
+@TeX
+{}
 ';
 
 
 $result_texts{'spaces_after_braced_command'} = 'b
 
 v
+
+TeX
 ';
 
 $result_errors{'spaces_after_braced_command'} = [];



reply via email to

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