Index: tools/bash-completion |
diff --git a/tools/bash-completion b/tools/bash-completion |
index e86767f17026d9ada6dda7741b0509165ed97ad2..8cc3c73a8d8ed555812a49951fd3e9bdc4793ca8 100644 |
--- a/tools/bash-completion |
+++ b/tools/bash-completion |
@@ -80,7 +80,7 @@ fi |
for gtest_test_executable in $( |
cd $chrome_source; |
- git ls-files '*/BUILD.gn' | xargs sed -ne 's/^test("\([^"]\+\)").*$/\1/p' |
+ git ls-files '*/BUILD.gn' | xargs sed -ne 's/^.*test("\([^"]\+\)").*$/\1/p' |
); do |
complete -F _gtest_flag $gtest_test_executable |
done |