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

[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]



reply via email to

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