summaryrefslogtreecommitdiff
path: root/cli/tools/test.rs
diff options
context:
space:
mode:
authorDavid Sherret <dsherret@users.noreply.github.com>2023-04-12 14:54:28 -0400
committerGitHub <noreply@github.com>2023-04-12 14:54:28 -0400
commit9c255b2843b3446c7ac6592eb8e318972eb5f1f8 (patch)
tree02b02d4a7ce3077435c0add9774d053003110f15 /cli/tools/test.rs
parent66a22d231af0681450b84d1bdbc0b585f0a728ee (diff)
refactor: `ProcState::build` -> `ProcState::from_flags` (#18672)
Diffstat (limited to 'cli/tools/test.rs')
-rw-r--r--cli/tools/test.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/tools/test.rs b/cli/tools/test.rs
index fa9798779..87cb3c5e3 100644
--- a/cli/tools/test.rs
+++ b/cli/tools/test.rs
@@ -1531,7 +1531,7 @@ pub async fn run_tests(
cli_options: CliOptions,
test_options: TestOptions,
) -> Result<(), AnyError> {
- let ps = ProcState::from_options(Arc::new(cli_options)).await?;
+ let ps = ProcState::from_cli_options(Arc::new(cli_options)).await?;
// Various test files should not share the same permissions in terms of
// `PermissionsContainer` - otherwise granting/revoking permissions in one
// file would have impact on other files, which is undesirable.
@@ -1575,7 +1575,7 @@ pub async fn run_tests_with_watch(
cli_options: CliOptions,
test_options: TestOptions,
) -> Result<(), AnyError> {
- let ps = ProcState::from_options(Arc::new(cli_options)).await?;
+ let ps = ProcState::from_cli_options(Arc::new(cli_options)).await?;
// Various test files should not share the same permissions in terms of
// `PermissionsContainer` - otherwise granting/revoking permissions in one
// file would have impact on other files, which is undesirable.