From c6e66edee824d83e84473ec666917b58323630df Mon Sep 17 00:00:00 2001 From: Vicente Merlo Date: Thu, 10 Sep 2026 11:19:55 -0300 Subject: [PATCH] feat(mix): complete only test and script files for `test` and `run` (#11020) `mix test ` and `mix run ` offered every file in the tree. Narrow them to test files (including umbrella apps) and to .ex/.exs respectively. Co-Authored-By: Claude Opus 5 --- plugins/mix/_mix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/mix/_mix b/plugins/mix/_mix index 346fc8c4f..2c912c117 100644 --- a/plugins/mix/_mix +++ b/plugins/mix/_mix @@ -157,13 +157,13 @@ case $state in '*::file:_files' ;; (test) - _files + _path_files -X "All tests" -g "test/**/*_test.exs" -g "apps/*/test/**/*_test.exs" ;; (test.watch) _files ;; (run) - _files + _files -g "*.(exs|ex)" ;; esac ;;