texinfo-commits
[Top][All Lists]
Advanced

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

[8309] 55conditionals.t false_format_not_closed


From: gavinsmith0123
Subject: [8309] 55conditionals.t false_format_not_closed
Date: Wed, 17 Oct 2018 08:15:49 -0400 (EDT)

Revision: 8309
          http://svn.sv.gnu.org/viewvc/?view=rev&root=texinfo&revision=8309
Author:   gavin
Date:     2018-10-17 08:15:49 -0400 (Wed, 17 Oct 2018)
Log Message:
-----------
55conditionals.t false_format_not_closed

Modified Paths:
--------------
    trunk/ChangeLog
    trunk/tp/t/55conditionals.t

Added Paths:
-----------
    trunk/tp/t/results/conditionals/false_format_not_closed.pl

Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog     2018-10-17 12:07:41 UTC (rev 8308)
+++ trunk/ChangeLog     2018-10-17 12:15:49 UTC (rev 8309)
@@ -1,9 +1,13 @@
+2018-10-17  gavin smith  <address@hidden>
+
+       * tp/t/55conditionals.t (false_format_not_closed): New test.
+
 2018-10-17  Gavin Smith  <address@hidden>
 
        * tp/Texinfo/Parser.pm (_expand_macro_arguments): Avoid using a 
        regex.
 
-2018-10-17  Gavin Smith  <address@hidden>
+2018-10-17  gavin smith  <address@hidden>
 
        * tp/t/60macro.t (empty_macro_argument): New test.
 

Modified: trunk/tp/t/55conditionals.t
===================================================================
--- trunk/tp/t/55conditionals.t 2018-10-17 12:07:41 UTC (rev 8308)
+++ trunk/tp/t/55conditionals.t 2018-10-17 12:15:49 UTC (rev 8309)
@@ -88,6 +88,10 @@
 @end ifnottex
 
 After.'],
+['false_format_not_closed',
+'@html
+blah blah
+'],
 ['many_conditionals',
 '@html
 This is html text.

Added: trunk/tp/t/results/conditionals/false_format_not_closed.pl
===================================================================
--- trunk/tp/t/results/conditionals/false_format_not_closed.pl                  
        (rev 0)
+++ trunk/tp/t/results/conditionals/false_format_not_closed.pl  2018-10-17 
12:15:49 UTC (rev 8309)
@@ -0,0 +1,59 @@
+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);
+
+use utf8;
+
+$result_trees{'false_format_not_closed'} = {
+  'contents' => [
+    {
+      'cmdname' => 'html',
+      'contents' => [
+        {
+          'contents' => [],
+          'parent' => {},
+          'type' => 'elided_block'
+        },
+        {
+          'parent' => {},
+          'text' => '
+',
+          'type' => 'empty_line_after_command'
+        },
+        {
+          'parent' => {},
+          'text' => '',
+          'type' => 'empty_line'
+        }
+      ],
+      'parent' => {}
+    }
+  ],
+  'type' => 'text_root'
+};
+$result_trees{'false_format_not_closed'}{'contents'}[0]{'contents'}[0]{'parent'}
 = $result_trees{'false_format_not_closed'}{'contents'}[0];
+$result_trees{'false_format_not_closed'}{'contents'}[0]{'contents'}[1]{'parent'}
 = $result_trees{'false_format_not_closed'}{'contents'}[0];
+$result_trees{'false_format_not_closed'}{'contents'}[0]{'contents'}[2]{'parent'}
 = $result_trees{'false_format_not_closed'}{'contents'}[0];
+$result_trees{'false_format_not_closed'}{'contents'}[0]{'parent'} = 
$result_trees{'false_format_not_closed'};
+
+$result_texis{'false_format_not_closed'} = '@html
+';
+
+
+$result_texts{'false_format_not_closed'} = '';
+
+$result_errors{'false_format_not_closed'} = [
+  {
+    'error_line' => ':2: no matching address@hidden html\'
+',
+    'file_name' => '',
+    'line_nr' => 2,
+    'macro' => '',
+    'text' => 'no matching address@hidden html\'',
+    'type' => 'error'
+  }
+];
+
+
+1;




reply via email to

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