Skip to content

Commit 4530f35

Browse files
committed
Reformat unit test for improved readability in main.rs.
1 parent 4911aa6 commit 4530f35

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

src/main.rs

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -323,9 +323,11 @@ mod tests {
323323
fn parse_cli_config_string_takes_precedence() {
324324
let mut file = NamedTempFile::new().unwrap();
325325
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();
326+
let result = parse_cli_config(
327+
Some(r#"{"from":"arg"}"#.to_string()),
328+
Some(file.path().to_path_buf()),
329+
)
330+
.unwrap();
329331
assert_eq!(result, Some(serde_json::json!({"from": "arg"})));
330332
}
331333

0 commit comments

Comments
 (0)