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

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

[nongnu] elpa/d-mode 6db43b2 153/346: tests: Add additional tests for #3


From: ELPA Syncer
Subject: [nongnu] elpa/d-mode 6db43b2 153/346: tests: Add additional tests for #30
Date: Sun, 29 Aug 2021 11:00:20 -0400 (EDT)

branch: elpa/d-mode
commit 6db43b2f458cd028661681b64c1cfd6c687a004e
Author: Vladimir Panteleev <git@thecybershadow.net>
Commit: Vladimir Panteleev <git@thecybershadow.net>

    tests: Add additional tests for #30
---
 tests/I0030.d      | 3 +++
 tests/I0030.d.html | 3 +++
 2 files changed, 6 insertions(+)

diff --git a/tests/I0030.d b/tests/I0030.d
index e269971..cf60573 100644
--- a/tests/I0030.d
+++ b/tests/I0030.d
@@ -9,4 +9,7 @@ const class C
                auto foo = getFoo();
                const baz = getFoo();
        }
+
+       const auto foo = 4;
+       immutable auto boo = 4;
 }
diff --git a/tests/I0030.d.html b/tests/I0030.d.html
index 463753e..9a529ca 100644
--- a/tests/I0030.d.html
+++ b/tests/I0030.d.html
@@ -9,4 +9,7 @@
                <span class="keyword">auto</span> <span 
class="variable-name">foo</span> = getFoo();
                <span class="keyword">const</span> <span 
class="variable-name">baz</span> = getFoo();
        }
+
+       <span class="keyword">const auto</span> <span 
class="variable-name">foo</span> = 4;
+       <span class="keyword">immutable auto</span> <span 
class="variable-name">boo</span> = 4;
 }



reply via email to

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