From 3b8139526a8dc1f3bfd003b9ef215bd148025ce6 Mon Sep 17 00:00:00 2001 From: Charlie Marsh Date: Mon, 12 May 2025 23:51:07 -0400 Subject: [PATCH] Add comma after "i.e." in Conda environment error (#13423) --- crates/uv-requirements/src/specification.rs | 2 +- crates/uv/tests/it/edit.rs | 2 +- crates/uv/tests/it/pip_install.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/crates/uv-requirements/src/specification.rs b/crates/uv-requirements/src/specification.rs index f14aa635b..689ec9e4f 100644 --- a/crates/uv-requirements/src/specification.rs +++ b/crates/uv-requirements/src/specification.rs @@ -226,7 +226,7 @@ impl RequirementsSpecification { } RequirementsSource::EnvironmentYml(path) => { return Err(anyhow::anyhow!( - "Conda environment files (i.e. `{}`) are not supported", + "Conda environment files (i.e., `{}`) are not supported", path.user_display() )) } diff --git a/crates/uv/tests/it/edit.rs b/crates/uv/tests/it/edit.rs index b5894fa59..3ad184734 100644 --- a/crates/uv/tests/it/edit.rs +++ b/crates/uv/tests/it/edit.rs @@ -3852,7 +3852,7 @@ fn add_environment_yml_error() -> Result<()> { ----- stdout ----- ----- stderr ----- - error: Conda environment files (i.e. `environment.yml`) are not supported + error: Conda environment files (i.e., `environment.yml`) are not supported "); Ok(()) diff --git a/crates/uv/tests/it/pip_install.rs b/crates/uv/tests/it/pip_install.rs index 2a8d51652..2d46dc099 100644 --- a/crates/uv/tests/it/pip_install.rs +++ b/crates/uv/tests/it/pip_install.rs @@ -8253,7 +8253,7 @@ fn install_unsupported_environment_yml() -> Result<()> { ----- stdout ----- ----- stderr ----- - error: Conda environment files (i.e. `environment.yml`) are not supported + error: Conda environment files (i.e., `environment.yml`) are not supported "); Ok(())