Skip to content

Commit 0949acb

Browse files
committed
test: fix flutter-repo-p--not-flutter-executable
1 parent 5a26111 commit 0949acb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/lsp-dart-utils-test.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
(ert-deftest lsp-dart--flutter-repo-p--not-flutter-executable-test ()
3333
(with-mock
3434
(mock (locate-dominating-file * "flutter") => "/not-sdk/bin")
35-
(mock (file-regular-p "/sdk/bin/flutter") => nil)
35+
(stub file-regular-p => nil)
3636
(should-not (lsp-dart--flutter-repo-p))))
3737

3838
(ert-deftest lsp-dart--flutter-repo-p--not-flutter-executable-test ()

0 commit comments

Comments
 (0)