File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -2650,12 +2650,12 @@ extern \"rust-intrinsic\" fn five() {
2650
2650
" four"
2651
2651
" five" ))))
2652
2652
2653
- (ert-deftest rust-test-project-located ( )
2654
- (skip-unless ( executable-find " cargo " ) )
2655
- (lexical-let* ((test-dir (expand-file-name " test-project" default-directory))
2656
- (manifest-file (expand-file-name " Cargo.toml" test-dir)))
2657
- (let ((default-directory test-dir))
2658
- (should (equal (expand-file-name (rust-buffer-project)) manifest-file)))))
2653
+ (when ( executable-find rust-cargo-bin )
2654
+ (ert-deftest rust-test-project-located ( )
2655
+ (lexical-let* ((test-dir (expand-file-name " test-project" default-directory))
2656
+ (manifest-file (expand-file-name " Cargo.toml" test-dir)))
2657
+ (let ((default-directory test-dir))
2658
+ (should (equal (expand-file-name (rust-buffer-project)) manifest-file) )))))
2659
2659
2660
2660
; ; If electric-pair-mode is available, load it and run the tests that use it. If not,
2661
2661
; ; no error--the tests will be skipped.
You can’t perform that action at this time.
0 commit comments