Skip to content

Commit

Permalink
Don’t duplicate test name.
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
phst committed Apr 26, 2023
1 parent 22fff6a commit 8e85850
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rust-mode-tests.el
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand All @@ -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 {
Expand Down

0 comments on commit 8e85850

Please sign in to comment.