diff options
author | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
commit | e0c6872cf40896c7be36b11dcc744620f10adf1d (patch) | |
tree | 60335e10d2f4354b0674ec22d7b53f0f8abee672 /macros/texinfo/texinfo/tp/t/results/plaintext_tests/empty_line_in_example_end.pl |
Initial commit
Diffstat (limited to 'macros/texinfo/texinfo/tp/t/results/plaintext_tests/empty_line_in_example_end.pl')
-rw-r--r-- | macros/texinfo/texinfo/tp/t/results/plaintext_tests/empty_line_in_example_end.pl | 139 |
1 files changed, 139 insertions, 0 deletions
diff --git a/macros/texinfo/texinfo/tp/t/results/plaintext_tests/empty_line_in_example_end.pl b/macros/texinfo/texinfo/tp/t/results/plaintext_tests/empty_line_in_example_end.pl new file mode 100644 index 0000000000..4bb783585a --- /dev/null +++ b/macros/texinfo/texinfo/tp/t/results/plaintext_tests/empty_line_in_example_end.pl @@ -0,0 +1,139 @@ +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{'empty_line_in_example_end'} = { + 'contents' => [ + { + 'cmdname' => 'example', + 'contents' => [ + { + 'extra' => { + 'command' => {} + }, + 'parent' => {}, + 'text' => ' +', + 'type' => 'empty_line_after_command' + }, + { + 'contents' => [ + { + 'parent' => {}, + 'text' => 'in example +' + }, + { + 'parent' => {}, + 'text' => ' +', + 'type' => 'empty_line' + } + ], + 'parent' => {}, + 'type' => 'preformatted' + }, + { + 'args' => [ + { + 'contents' => [ + { + 'parent' => {}, + 'text' => 'example' + } + ], + 'extra' => { + 'spaces_after_argument' => ' +' + }, + 'parent' => {}, + 'type' => 'line_arg' + } + ], + 'cmdname' => 'end', + 'extra' => { + 'command_argument' => 'example', + 'spaces_before_argument' => ' ', + 'text_arg' => 'example' + }, + 'line_nr' => { + 'file_name' => '', + 'line_nr' => 4, + 'macro' => '' + }, + 'parent' => {} + } + ], + 'extra' => { + 'end_command' => {} + }, + 'line_nr' => { + 'file_name' => '', + 'line_nr' => 1, + 'macro' => '' + }, + 'parent' => {} + }, + { + 'parent' => {}, + 'text' => ' +', + 'type' => 'empty_line' + }, + { + 'contents' => [ + { + 'parent' => {}, + 'text' => 'After line +' + } + ], + 'parent' => {}, + 'type' => 'paragraph' + } + ], + 'type' => 'text_root' +}; +$result_trees{'empty_line_in_example_end'}{'contents'}[0]{'contents'}[0]{'extra'}{'command'} = $result_trees{'empty_line_in_example_end'}{'contents'}[0]; +$result_trees{'empty_line_in_example_end'}{'contents'}[0]{'contents'}[0]{'parent'} = $result_trees{'empty_line_in_example_end'}{'contents'}[0]; +$result_trees{'empty_line_in_example_end'}{'contents'}[0]{'contents'}[1]{'contents'}[0]{'parent'} = $result_trees{'empty_line_in_example_end'}{'contents'}[0]{'contents'}[1]; +$result_trees{'empty_line_in_example_end'}{'contents'}[0]{'contents'}[1]{'contents'}[1]{'parent'} = $result_trees{'empty_line_in_example_end'}{'contents'}[0]{'contents'}[1]; +$result_trees{'empty_line_in_example_end'}{'contents'}[0]{'contents'}[1]{'parent'} = $result_trees{'empty_line_in_example_end'}{'contents'}[0]; +$result_trees{'empty_line_in_example_end'}{'contents'}[0]{'contents'}[2]{'args'}[0]{'contents'}[0]{'parent'} = $result_trees{'empty_line_in_example_end'}{'contents'}[0]{'contents'}[2]{'args'}[0]; +$result_trees{'empty_line_in_example_end'}{'contents'}[0]{'contents'}[2]{'args'}[0]{'parent'} = $result_trees{'empty_line_in_example_end'}{'contents'}[0]{'contents'}[2]; +$result_trees{'empty_line_in_example_end'}{'contents'}[0]{'contents'}[2]{'parent'} = $result_trees{'empty_line_in_example_end'}{'contents'}[0]; +$result_trees{'empty_line_in_example_end'}{'contents'}[0]{'extra'}{'end_command'} = $result_trees{'empty_line_in_example_end'}{'contents'}[0]{'contents'}[2]; +$result_trees{'empty_line_in_example_end'}{'contents'}[0]{'parent'} = $result_trees{'empty_line_in_example_end'}; +$result_trees{'empty_line_in_example_end'}{'contents'}[1]{'parent'} = $result_trees{'empty_line_in_example_end'}; +$result_trees{'empty_line_in_example_end'}{'contents'}[2]{'contents'}[0]{'parent'} = $result_trees{'empty_line_in_example_end'}{'contents'}[2]; +$result_trees{'empty_line_in_example_end'}{'contents'}[2]{'parent'} = $result_trees{'empty_line_in_example_end'}; + +$result_texis{'empty_line_in_example_end'} = '@example +in example + +@end example + +After line +'; + + +$result_texts{'empty_line_in_example_end'} = 'in example + + +After line +'; + +$result_errors{'empty_line_in_example_end'} = []; + + + +$result_converted{'plaintext'}->{'empty_line_in_example_end'} = ' in example + + + After line +'; + +1; |