We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
main.rs
1 parent 4911aa6 commit 4530f35Copy full SHA for 4530f35
1 file changed
src/main.rs
@@ -323,9 +323,11 @@ mod tests {
323
fn parse_cli_config_string_takes_precedence() {
324
let mut file = NamedTempFile::new().unwrap();
325
write!(file, r#"{{"from":"file"}}"#).unwrap();
326
- let result =
327
- parse_cli_config(Some(r#"{"from":"arg"}"#.to_string()), Some(file.path().to_path_buf()))
328
- .unwrap();
+ let result = parse_cli_config(
+ Some(r#"{"from":"arg"}"#.to_string()),
+ Some(file.path().to_path_buf()),
329
+ )
330
+ .unwrap();
331
assert_eq!(result, Some(serde_json::json!({"from": "arg"})));
332
}
333
0 commit comments