From aaac90c9b05e490660176dc6109b9e58c3bbe3c1 Mon Sep 17 00:00:00 2001 From: Simeon Simeonov Date: Sat, 14 Feb 2026 10:44:11 +0100 Subject: Update markdown-mode and rust-mode --- .emacs.d/lisp/rust-cargo-tests.el | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to '.emacs.d/lisp/rust-cargo-tests.el') diff --git a/.emacs.d/lisp/rust-cargo-tests.el b/.emacs.d/lisp/rust-cargo-tests.el index 1b072ee..a029b2a 100644 --- a/.emacs.d/lisp/rust-cargo-tests.el +++ b/.emacs.d/lisp/rust-cargo-tests.el @@ -60,6 +60,22 @@ (rust-test--wait-process-exit) (should (rust-test--find-string "***run interactive: 1234"))))) +(ert-deftest rust-test-test () + (skip-unless (executable-find rust-cargo-bin)) + (setq rust-cargo-default-arguments "") + (rust-test--with-main-file-buffer + (with-current-buffer (rust-test) + (rust-test--wait-process-exit) + (should (rust-test--find-string "running 1 test"))))) + +(ert-deftest rust-test-test-with-arg () + (skip-unless (executable-find rust-cargo-bin)) + (setq rust-cargo-default-arguments "") + (rust-test--with-main-file-buffer + (with-current-buffer (rust-test t t) + (rust-test--wait-process-exit) + (should (rust-test--find-string "***output test"))))) + (ert-deftest rust-test-rustfmt () (skip-unless (executable-find "rustfmt")) (rust-test--with-main-file-buffer -- cgit v1.3