texinfo-commits
[Top][All Lists]
Advanced

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

branch master updated: Add missing test results.


From: Patrice Dumas
Subject: branch master updated: Add missing test results.
Date: Mon, 13 Feb 2023 11:53:05 -0500

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 5151d8232b Add missing test results.
5151d8232b is described below

commit 5151d8232b68ba8d8a8a9ce03b3efb5471ed9382
Author: Patrice Dumas <pertusus@free.fr>
AuthorDate: Mon Feb 13 17:52:47 2023 +0100

    Add missing test results.
---
 .../macro/unpaired_backslash_in_macro_body.pl      | 146 +++++++++++++++++++++
 1 file changed, 146 insertions(+)

diff --git a/tp/t/results/macro/unpaired_backslash_in_macro_body.pl 
b/tp/t/results/macro/unpaired_backslash_in_macro_body.pl
new file mode 100644
index 0000000000..5d9c088500
--- /dev/null
+++ b/tp/t/results/macro/unpaired_backslash_in_macro_body.pl
@@ -0,0 +1,146 @@
+use vars qw(%result_texis %result_texts %result_trees %result_errors 
+   %result_indices %result_sectioning %result_nodes %result_menus
+   %result_floats %result_converted %result_converted_errors 
+   %result_elements %result_directions_text %result_indices_sort_strings);
+
+use utf8;
+
+$result_trees{'unpaired_backslash_in_macro_body'} = {
+  'contents' => [
+    {
+      'contents' => [
+        {
+          'args' => [
+            {
+              'text' => 'mymacro',
+              'type' => 'macro_name'
+            },
+            {
+              'text' => 'arg',
+              'type' => 'macro_arg'
+            }
+          ],
+          'cmdname' => 'macro',
+          'contents' => [
+            {
+              'text' => 'In macro \\not arg
+',
+              'type' => 'raw'
+            },
+            {
+              'text' => 'not paired
+',
+              'type' => 'raw'
+            },
+            {
+              'args' => [
+                {
+                  'contents' => [
+                    {
+                      'text' => 'macro'
+                    }
+                  ],
+                  'info' => {
+                    'spaces_after_argument' => {
+                      'text' => '
+'
+                    }
+                  },
+                  'type' => 'line_arg'
+                }
+              ],
+              'cmdname' => 'end',
+              'extra' => {
+                'text_arg' => 'macro'
+              },
+              'info' => {
+                'spaces_before_argument' => {
+                  'text' => ' '
+                }
+              },
+              'source_info' => {
+                'file_name' => '',
+                'line_nr' => 4,
+                'macro' => ''
+              }
+            }
+          ],
+          'info' => {
+            'arg_line' => ' mymacro {arg}
+'
+          },
+          'source_info' => {
+            'file_name' => '',
+            'line_nr' => 1,
+            'macro' => ''
+          }
+        },
+        {
+          'source_marks' => [
+            {
+              'counter' => 1,
+              'element' => {
+                'extra' => {
+                  'name' => 'mymacro'
+                },
+                'type' => 'macro_call'
+              },
+              'position' => 1,
+              'sourcemark_type' => 'macro_expansion',
+              'status' => 'start'
+            }
+          ],
+          'text' => '
+',
+          'type' => 'empty_line'
+        },
+        {
+          'contents' => [
+            {
+              'text' => 'In macro not arg
+'
+            },
+            {
+              'source_marks' => [
+                {
+                  'counter' => 1,
+                  'position' => 10,
+                  'sourcemark_type' => 'macro_expansion',
+                  'status' => 'end'
+                }
+              ],
+              'text' => 'not paired
+'
+            }
+          ],
+          'type' => 'paragraph'
+        }
+      ],
+      'type' => 'before_node_section'
+    }
+  ],
+  'type' => 'document_root'
+};
+
+$result_texis{'unpaired_backslash_in_macro_body'} = '@macro mymacro {arg}
+In macro \\not arg
+not paired
+@end macro
+
+In macro not arg
+not paired
+';
+
+
+$result_texts{'unpaired_backslash_in_macro_body'} = '
+In macro not arg
+not paired
+';
+
+$result_errors{'unpaired_backslash_in_macro_body'} = [];
+
+
+$result_floats{'unpaired_backslash_in_macro_body'} = {};
+
+
+1;



reply via email to

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