Skip to content

Commit

Permalink
Add test for issue #112
Browse files Browse the repository at this point in the history
  • Loading branch information
CyberShadow committed Jun 2, 2022
1 parent 183af81 commit 024aca9
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/I0112.d
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
// #run: (progn (goto-char (- (point-max) 3)) (read-only-mode -1) (insert "\"") (run-hooks 'post-command-hook) (insert "\"") (font-lock-ensure) (d-test-fontification))

void main()
{
foo(
}
6 changes: 6 additions & 0 deletions tests/I0112.d.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<span class="comment-delimiter">// </span><span class="comment">#run: (progn (goto-char (- (point-max) 3)) (read-only-mode -1) (insert &quot;\&quot;&quot;) (run-hooks 'post-command-hook) (insert &quot;\&quot;&quot;) (font-lock-ensure) (d-test-fontification))
</span>
<span class="type">void</span> <span class="function-name">main</span>()
{
foo(<span class="string">&quot;&quot;</span>
}

0 comments on commit 024aca9

Please sign in to comment.