diff options
| author | Philipp Stephani <phst@google.com> | 2022-09-16 19:12:37 +0200 |
|---|---|---|
| committer | Philipp Stephani <phst@google.com> | 2022-09-16 19:12:37 +0200 |
| commit | 49087fd372752308cb716fdf31c08d566e225096 (patch) | |
| tree | 92e2c38e6bdfcdf6b1a5d6501cbd5873db5bf5ee /rust-mode-tests.el | |
| parent | fd8fe789abffb202f43a9edfbd691a0a5df51b58 (diff) | |
| download | rust-mode-49087fd372752308cb716fdf31c08d566e225096.tar.gz | |
Skip test if Cargo isn’t installed.
This test requires Cargo and fails if it’s not installed.
Diffstat (limited to 'rust-mode-tests.el')
| -rw-r--r-- | rust-mode-tests.el | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/rust-mode-tests.el b/rust-mode-tests.el index 6c967bf..e4949b2 100644 --- a/rust-mode-tests.el +++ b/rust-mode-tests.el @@ -3482,6 +3482,7 @@ impl Two<'a> { "let x = dbg!(\"foo, bar\")")) (ert-deftest rust-test-project-located () + (skip-unless (executable-find rust-cargo-bin)) (let* ((test-dir (expand-file-name "test-project/" default-directory)) (manifest-file (expand-file-name "Cargo.toml" test-dir))) (let ((default-directory test-dir)) |
