[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/d-mode 7c3bcdc 124/346: tests: Split test for #72 to its o
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/d-mode 7c3bcdc 124/346: tests: Split test for #72 to its own file |
Date: |
Sun, 29 Aug 2021 11:00:15 -0400 (EDT) |
branch: elpa/d-mode
commit 7c3bcdc016d994b12f8b830d7be1d2b498cc9d72
Author: Vladimir Panteleev <git@thecybershadow.net>
Commit: Vladimir Panteleev <git@thecybershadow.net>
tests: Split test for #72 to its own file
---
d-mode-test.el | 1 +
tests/I0069.txt | 16 +---------------
tests/{I0069.txt => I0072.txt} | 10 ++--------
3 files changed, 4 insertions(+), 23 deletions(-)
diff --git a/d-mode-test.el b/d-mode-test.el
index 51fe53d..2ab6265 100644
--- a/d-mode-test.el
+++ b/d-mode-test.el
@@ -230,6 +230,7 @@ Called from the #run snippet of individual test files."
(should (equal (do-one-test "tests/I0039.d") t))
(should (equal (do-one-test "tests/I0064.d") t))
(should (equal (do-one-test "tests/I0069.txt") t))
+ (should (equal (do-one-test "tests/I0072.txt") t))
)
;;----------------------------------------------------------------------------
diff --git a/tests/I0069.txt b/tests/I0069.txt
index 9e066f8..1ecb81f 100644
--- a/tests/I0069.txt
+++ b/tests/I0069.txt
@@ -1,24 +1,10 @@
-*-compilation-*-
// #run: (d-test-get-compilation-lines)
-// #out: (6 7 9 10 13)
+// #out: (6 7 9 10)
foo.d(1): Error: Test error
foo.d(1,1): Error: Column number test
baz.d(3,4): instantiated from here: Continuation test
bar.d(2,1): Warning: Test warning
quux.d(3): Deprecation: Test deprecation
-
-# Test for GitHub pull request #72
-core.exception.AssertError@test.d(1): Assertion failure
-----------------
-??:? _d_assert [0x422b1b]
-??:? void test.__assert(int) [0x422a2f]
-/tmp/test.d:1 _Dmain [0x4229d5]
-??:? _D2rt6dmain211_d_run_mainUiPPaPUAAaZiZ6runAllMFZ9__lambda1MFZv [0x422f92]
-??:? void rt.dmain2._d_run_main(int, char**, extern (C) int
function(char[][])*).tryExec(scope void delegate()) [0x422edc]
-??:? void rt.dmain2._d_run_main(int, char**, extern (C) int
function(char[][])*).runAll() [0x422f4e]
-??:? void rt.dmain2._d_run_main(int, char**, extern (C) int
function(char[][])*).tryExec(scope void delegate()) [0x422edc]
-??:? _d_run_main [0x422e4d]
-??:? main [0x422a7f]
-??:? __libc_start_main [0xc9d0b290]
diff --git a/tests/I0069.txt b/tests/I0072.txt
similarity index 73%
copy from tests/I0069.txt
copy to tests/I0072.txt
index 9e066f8..b3a3c03 100644
--- a/tests/I0069.txt
+++ b/tests/I0072.txt
@@ -1,15 +1,9 @@
-*-compilation-*-
// #run: (d-test-get-compilation-lines)
-// #out: (6 7 9 10 13)
+// #out: (7)
-foo.d(1): Error: Test error
-foo.d(1,1): Error: Column number test
-baz.d(3,4): instantiated from here: Continuation test
-bar.d(2,1): Warning: Test warning
-quux.d(3): Deprecation: Test deprecation
-
-# Test for GitHub pull request #72
+not-an-error
core.exception.AssertError@test.d(1): Assertion failure
----------------
??:? _d_assert [0x422b1b]
- [nongnu] elpa/d-mode dea775a 066/346: Merge pull request #35 from wrzoski/master, (continued)
- [nongnu] elpa/d-mode dea775a 066/346: Merge pull request #35 from wrzoski/master, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode 01997e0 070/346: Add LDC compiler message pattern to be recognized in compilation mode., ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode 38ddb5a 076/346: Merge pull request #41 from dmakarov/master, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode 2b0b84f 073/346: Merge pull request #38 from TOGoS/master, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode c4d8ba8 099/346: Fix omission of final/abstract classes in imenu, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode 9729d5f 103/346: Merge pull request #62 from CyberShadow/pull-20160328-152551, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode 2d014ef 106/346: Add .cask to .gitignore., ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode 830a070 095/346: Merge pull request #51 from dmakarov/master, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode b682601 118/346: Document cl compilation warning, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode efc92aa 120/346: tests: Add test for GitHub pull request #72, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode 7c3bcdc 124/346: tests: Split test for #72 to its own file,
ELPA Syncer <=
- [nongnu] elpa/d-mode c881155 126/346: .travis.yml: Switch to a different PPA in order to test on Emacs 25, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode eb92e64 127/346: .travis.yml: Switch to emacs-travis.mk, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode fef0def 128/346: tests: Add basic imenu test, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode c6e2c9a 129/346: Convert d-imenu-method-name-pattern to rx expression, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode 2fd4691 133/346: tests: Disable #35 indentation test on Emacs 24.3, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode 671ee7c 135/346: tests: Tweak version condition for #35 test, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode d219e0e 139/346: README: Update Coveralls badge, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode 53eac10 140/346: tests: Test paren-less calls as well in test for issue #26, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode 5547400 142/346: Update package version, and link to script to do it automatically, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode 5dbec4a 146/346: Convert backquote-in-backtick-string regexp to rx, ELPA Syncer, 2021/08/29