Fix single-threaded runs for single test (#5350)

Typo fix.

```
$ bazel test :file_test_base_test --test_output=all
...
Running tests with 128 thread(s)
...
$ bazel test :file_test_base_test --test_output=all --test_arg=--gtest_filter=FileTestBaseTest.testing/file_test/testdata/two_files.carbon
...
Running tests with 1 thread(s)
...
```
This commit is contained in:
Jon Ross-Perkins
2025-04-24 00:58:09 +00:00
committed by GitHub
parent 77c5f63be7
commit 8512e9198e
+1 -1
View File
@@ -356,7 +356,7 @@ static auto SingleThreaded(llvm::ArrayRef<FileTestInfo> tests) -> bool {
found_test_to_run = true;
}
// 0 or 1 test will be run, so single-threaded.
return false;
return true;
}
// Runs the test in the section that would be inside a lock, possibly inside a