texinfo-commits
[Top][All Lists]
Advanced

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

[7198] don't compare remaining_args in tests


From: gavinsmith0123
Subject: [7198] don't compare remaining_args in tests
Date: Sun, 29 May 2016 20:26:30 +0000 (UTC)

Revision: 7198
          http://svn.sv.gnu.org/viewvc/?view=rev&root=texinfo&revision=7198
Author:   gavin
Date:     2016-05-29 20:26:30 +0000 (Sun, 29 May 2016)
Log Message:
-----------
don't compare remaining_args in tests

Modified Paths:
--------------
    trunk/ChangeLog
    trunk/tp/t/results/invalid_nestings/footnote_in_ref.pl
    trunk/tp/t/results/invalid_nestings/ignored_text.pl
    trunk/tp/t/results/invalid_nestings/in_table.pl
    trunk/tp/t/results/invalid_nestings/item_in_ref.pl
    trunk/tp/t/results/invalid_nestings/quotation_in_ref.pl
    trunk/tp/t/results/invalid_nestings/verbatim_in_ref.pl
    trunk/tp/t/results/misc_commands/ref_in_center.pl
    trunk/tp/t/results/raw/inlinefmt_with_empty_line.pl
    trunk/tp/t/test_utils.pl

Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog     2016-05-29 17:17:18 UTC (rev 7197)
+++ trunk/ChangeLog     2016-05-29 20:26:30 UTC (rev 7198)
@@ -1,5 +1,11 @@
 2016-05-29  Gavin Smith  <address@hidden>
 
+       * tp/t/test-utils.pl (@avoided_keys_tree): Don't compare 
+       'remaining_args' values.  This is for the XS module, which 
+       doesn't output them.
+
+2016-05-29  Gavin Smith  <address@hidden>
+
        * tp/Texinfo/Parser.pm (_parse_macro_command_line): Order of 
        error messages changed.
 

Modified: trunk/tp/t/results/invalid_nestings/footnote_in_ref.pl
===================================================================
--- trunk/tp/t/results/invalid_nestings/footnote_in_ref.pl      2016-05-29 
17:17:18 UTC (rev 7197)
+++ trunk/tp/t/results/invalid_nestings/footnote_in_ref.pl      2016-05-29 
20:26:30 UTC (rev 7198)
@@ -139,8 +139,7 @@
                 ]
               },
               'line_nr' => {},
-              'parent' => {},
-              'remaining_args' => 3
+              'parent' => {}
             }
           ],
           'parent' => {},

Modified: trunk/tp/t/results/invalid_nestings/ignored_text.pl
===================================================================
--- trunk/tp/t/results/invalid_nestings/ignored_text.pl 2016-05-29 17:17:18 UTC 
(rev 7197)
+++ trunk/tp/t/results/invalid_nestings/ignored_text.pl 2016-05-29 20:26:30 UTC 
(rev 7198)
@@ -42,8 +42,7 @@
         'line_nr' => 1,
         'macro' => ''
       },
-      'parent' => {},
-      'remaining_args' => 3
+      'parent' => {}
     }
   ],
   'type' => 'document_root'

Modified: trunk/tp/t/results/invalid_nestings/in_table.pl
===================================================================
--- trunk/tp/t/results/invalid_nestings/in_table.pl     2016-05-29 17:17:18 UTC 
(rev 7197)
+++ trunk/tp/t/results/invalid_nestings/in_table.pl     2016-05-29 20:26:30 UTC 
(rev 7198)
@@ -496,8 +496,7 @@
                                 'line_nr' => 10,
                                 'macro' => ''
                               },
-                              'parent' => {},
-                              'remaining_args' => 2
+                              'parent' => {}
                             }
                           ],
                           'parent' => {},

Modified: trunk/tp/t/results/invalid_nestings/item_in_ref.pl
===================================================================
--- trunk/tp/t/results/invalid_nestings/item_in_ref.pl  2016-05-29 17:17:18 UTC 
(rev 7197)
+++ trunk/tp/t/results/invalid_nestings/item_in_ref.pl  2016-05-29 20:26:30 UTC 
(rev 7198)
@@ -162,8 +162,7 @@
                         'line_nr' => 5,
                         'macro' => ''
                       },
-                      'parent' => {},
-                      'remaining_args' => 2
+                      'parent' => {}
                     }
                   ],
                   'parent' => {},

Modified: trunk/tp/t/results/invalid_nestings/quotation_in_ref.pl
===================================================================
--- trunk/tp/t/results/invalid_nestings/quotation_in_ref.pl     2016-05-29 
17:17:18 UTC (rev 7197)
+++ trunk/tp/t/results/invalid_nestings/quotation_in_ref.pl     2016-05-29 
20:26:30 UTC (rev 7198)
@@ -88,8 +88,7 @@
                 'line_nr' => 3,
                 'macro' => ''
               },
-              'parent' => {},
-              'remaining_args' => 3
+              'parent' => {}
             }
           ],
           'parent' => {},

Modified: trunk/tp/t/results/invalid_nestings/verbatim_in_ref.pl
===================================================================
--- trunk/tp/t/results/invalid_nestings/verbatim_in_ref.pl      2016-05-29 
17:17:18 UTC (rev 7197)
+++ trunk/tp/t/results/invalid_nestings/verbatim_in_ref.pl      2016-05-29 
20:26:30 UTC (rev 7198)
@@ -88,8 +88,7 @@
                 'line_nr' => 3,
                 'macro' => ''
               },
-              'parent' => {},
-              'remaining_args' => 3
+              'parent' => {}
             }
           ],
           'parent' => {},

Modified: trunk/tp/t/results/misc_commands/ref_in_center.pl
===================================================================
--- trunk/tp/t/results/misc_commands/ref_in_center.pl   2016-05-29 17:17:18 UTC 
(rev 7197)
+++ trunk/tp/t/results/misc_commands/ref_in_center.pl   2016-05-29 20:26:30 UTC 
(rev 7198)
@@ -184,8 +184,7 @@
                     'line_nr' => 5,
                     'macro' => ''
                   },
-                  'parent' => {},
-                  'remaining_args' => 2
+                  'parent' => {}
                 }
               ],
               'parent' => {},

Modified: trunk/tp/t/results/raw/inlinefmt_with_empty_line.pl
===================================================================
--- trunk/tp/t/results/raw/inlinefmt_with_empty_line.pl 2016-05-29 17:17:18 UTC 
(rev 7197)
+++ trunk/tp/t/results/raw/inlinefmt_with_empty_line.pl 2016-05-29 20:26:30 UTC 
(rev 7198)
@@ -63,8 +63,7 @@
             'line_nr' => 1,
             'macro' => ''
           },
-          'parent' => {},
-          'remaining_args' => 0
+          'parent' => {}
         }
       ],
       'parent' => {},
@@ -144,8 +143,7 @@
             'line_nr' => 4,
             'macro' => ''
           },
-          'parent' => {},
-          'remaining_args' => 0
+          'parent' => {}
         }
       ],
       'parent' => {},

Modified: trunk/tp/t/test_utils.pl
===================================================================
--- trunk/tp/t/test_utils.pl    2016-05-29 17:17:18 UTC (rev 7197)
+++ trunk/tp/t/test_utils.pl    2016-05-29 20:26:30 UTC (rev 7198)
@@ -404,7 +404,7 @@
   'associated_section');
 my %avoided_keys_tree;
 our @avoided_keys_tree = (@sections_keys, @menus_keys, @node_keys, 
-   'menu_child', 'element_next', 'directions', 'page_next');
+   'menu_child', 'element_next', 'directions', 'page_next', 'remaining_args');
 foreach my $avoided_key(@avoided_keys_tree) {
   $avoided_keys_tree{$avoided_key} = 1;
 }




reply via email to

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