emacs-elpa-diffs
[Top][All Lists]
Advanced

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

[nongnu] elpa/d-mode 024aca97d0 2/2: Add test for issue #112


From: ELPA Syncer
Subject: [nongnu] elpa/d-mode 024aca97d0 2/2: Add test for issue #112
Date: Thu, 2 Jun 2022 02:58:10 -0400 (EDT)

branch: elpa/d-mode
commit 024aca97d07e72bf3500fb6bf0cdf50c4992a741
Author: Vladimir Panteleev <git@cy.md>
Commit: Vladimir Panteleev <git@cy.md>

    Add test for issue #112
---
 tests/I0112.d      | 6 ++++++
 tests/I0112.d.html | 6 ++++++
 2 files changed, 12 insertions(+)

diff --git a/tests/I0112.d b/tests/I0112.d
new file mode 100644
index 0000000000..5ec3b7faa9
--- /dev/null
+++ b/tests/I0112.d
@@ -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(
+}
diff --git a/tests/I0112.d.html b/tests/I0112.d.html
new file mode 100644
index 0000000000..75c9c3aa39
--- /dev/null
+++ b/tests/I0112.d.html
@@ -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>
+}



reply via email to

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