mirror of
https://github.com/openai/codex.git
synced 2026-11-15 21:50:46 +00:00
chore: enforce argument-comment lint across all targets
This commit is contained in:
@@ -26,7 +26,7 @@ mod tests {
|
||||
|
||||
#[test]
|
||||
fn returns_dash_when_empty() {
|
||||
assert_eq!(format_env_display(None, &[]), "-");
|
||||
assert_eq!(format_env_display(/*env*/ None, &[]), "-");
|
||||
|
||||
let empty_map = HashMap::new();
|
||||
assert_eq!(format_env_display(Some(&empty_map), &[]), "-");
|
||||
@@ -45,7 +45,10 @@ mod tests {
|
||||
fn formats_env_vars_with_dollar_prefix() {
|
||||
let vars = vec!["TOKEN".to_string(), "PATH".to_string()];
|
||||
|
||||
assert_eq!(format_env_display(None, &vars), "TOKEN=*****, PATH=*****");
|
||||
assert_eq!(
|
||||
format_env_display(/*env*/ None, &vars),
|
||||
"TOKEN=*****, PATH=*****"
|
||||
);
|
||||
}
|
||||
|
||||
#[test]
|
||||
|
||||
Reference in New Issue
Block a user