Fix grammar in missing platform marker error message (#9240)

`s/a platform markers/a platform marker/`
This commit is contained in:
Ed Morley 2024-11-19 20:03:52 +00:00 committed by GitHub
parent 0454c3b3ec
commit 62e0ee7f67
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -1278,7 +1278,7 @@ pub enum SourceError {
NonUtf8Path(PathBuf),
#[error("Source markers must be disjoint, but the following markers overlap: `{0}` and `{1}`.\n\n{hint}{colon} replace `{1}` with `{2}`.", hint = "hint".bold().cyan(), colon = ":".bold())]
OverlappingMarkers(String, String, String),
#[error("When multiple sources are provided, each source must include a platform markers (e.g., `marker = \"sys_platform == 'linux'\"`)")]
#[error("When multiple sources are provided, each source must include a platform marker (e.g., `marker = \"sys_platform == 'linux'\"`)")]
MissingMarkers,
#[error("Must provide at least one source")]
EmptySources,

View File

@ -18068,7 +18068,7 @@ fn lock_multiple_sources_no_marker() -> Result<()> {
|
9 | iniconfig = [
| ^
When multiple sources are provided, each source must include a platform markers (e.g., `marker = "sys_platform == 'linux'"`)
When multiple sources are provided, each source must include a platform marker (e.g., `marker = "sys_platform == 'linux'"`)
"###);
Ok(())