summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilipp Stephani <phst@google.com>2023-04-26 10:27:30 +0200
committerPhilipp Stephani <phst@google.com>2023-04-26 10:27:30 +0200
commit8e85850cdba5cbe265d974e63b84b54a9bc9133e (patch)
tree91ccf0c6243a17878b0611f53b93f183e1c898a6
parent22fff6a049402584e7120146c3db141c6f530bf6 (diff)
downloadrust-mode-8e85850cdba5cbe265d974e63b84b54a9bc9133e.tar.gz
Don’t duplicate test name.
Emacs 29 will signal an error in this case in batch mode, and in any case the first test in the duplicate series will never run.
-rw-r--r--rust-mode-tests.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/rust-mode-tests.el b/rust-mode-tests.el
index c1d0501..3b23046 100644
--- a/rust-mode-tests.el
+++ b/rust-mode-tests.el
@@ -2797,7 +2797,7 @@ fn foo<T:Fn() -> X<Y>>() -> Z {
)
))
-(ert-deftest rust-test-paren-matching-lt-ops-in-fn-params ()
+(ert-deftest rust-test-paren-matching-lt-ops-in-fn-params-1 ()
(rust-test-matching-parens
"
fn foo(x:i32) {
@@ -2809,7 +2809,7 @@ fn foo(x:i32) {
)
))
-(ert-deftest rust-test-paren-matching-lt-ops-in-fn-params ()
+(ert-deftest rust-test-paren-matching-lt-ops-in-fn-params-2 ()
(rust-test-matching-parens
"
fn foo(x:i32) -> bool {