diff options
| author | Simeon Simeonov | 2026-02-14 10:44:11 +0100 |
|---|---|---|
| committer | Simeon Simeonov | 2026-02-14 10:44:11 +0100 |
| commit | aaac90c9b05e490660176dc6109b9e58c3bbe3c1 (patch) | |
| tree | 850d9c131aeaa749d2aaffaac54262b9917140fa /.emacs.d/lisp/rust-cargo-tests.el | |
| parent | 5c2c9a50da3a3f534842ffe95a49fe990000a072 (diff) | |
Update markdown-mode and rust-mode
Diffstat (limited to '.emacs.d/lisp/rust-cargo-tests.el')
| -rw-r--r-- | .emacs.d/lisp/rust-cargo-tests.el | 16 |
1 files changed, 16 insertions, 0 deletions
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 @@ | |||
| 60 | (rust-test--wait-process-exit) | 60 | (rust-test--wait-process-exit) |
| 61 | (should (rust-test--find-string "***run interactive: 1234"))))) | 61 | (should (rust-test--find-string "***run interactive: 1234"))))) |
| 62 | 62 | ||
| 63 | (ert-deftest rust-test-test () | ||
| 64 | (skip-unless (executable-find rust-cargo-bin)) | ||
| 65 | (setq rust-cargo-default-arguments "") | ||
| 66 | (rust-test--with-main-file-buffer | ||
| 67 | (with-current-buffer (rust-test) | ||
| 68 | (rust-test--wait-process-exit) | ||
| 69 | (should (rust-test--find-string "running 1 test"))))) | ||
| 70 | |||
| 71 | (ert-deftest rust-test-test-with-arg () | ||
| 72 | (skip-unless (executable-find rust-cargo-bin)) | ||
| 73 | (setq rust-cargo-default-arguments "") | ||
| 74 | (rust-test--with-main-file-buffer | ||
| 75 | (with-current-buffer (rust-test t t) | ||
| 76 | (rust-test--wait-process-exit) | ||
| 77 | (should (rust-test--find-string "***output test"))))) | ||
| 78 | |||
| 63 | (ert-deftest rust-test-rustfmt () | 79 | (ert-deftest rust-test-rustfmt () |
| 64 | (skip-unless (executable-find "rustfmt")) | 80 | (skip-unless (executable-find "rustfmt")) |
| 65 | (rust-test--with-main-file-buffer | 81 | (rust-test--with-main-file-buffer |
