Skip to content

Commit

Permalink
(perl) Add test for GH-3934
Browse files Browse the repository at this point in the history
See #3934
  • Loading branch information
h3xx committed Dec 16, 2023
1 parent 7a926ac commit f0fcf41
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/markup/perl/default.expect.txt
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@
<span class="hljs-comment"># GH-117</span>
<span class="hljs-keyword">my</span> <span class="hljs-variable">$g</span> = <span class="hljs-keyword">glob</span>(<span class="hljs-string">&quot;/usr/bin/*&quot;</span>);

<span class="hljs-comment"># GH-3934</span>
<span class="hljs-keyword">print</span> <span class="hljs-string">&quot;@&quot;</span>;
<span class="hljs-keyword">print</span>;

<span class="hljs-keyword">return</span> <span class="hljs-variable">$o</span>;
}

Expand Down
4 changes: 4 additions & 0 deletions test/markup/perl/default.txt
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@ sub load
# GH-117
my $g = glob("/usr/bin/*");

# GH-3934
print "@";
print;

return $o;
}

Expand Down

0 comments on commit f0fcf41

Please sign in to comment.