Skip to content

Commit 7f6d7cf

Browse files
committed
fix: rustfmt formatting in output tests
1 parent d2da1ad commit 7f6d7cf

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

src/output/mod.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,10 @@ mod tests {
6060
let value = json!({ "data": { "a": 1, "b": 2 } });
6161
let result = format_json(&value).unwrap();
6262
assert!(!result.contains('\n'), "output should not contain newlines");
63-
assert!(!result.contains(" "), "output should not contain indentation");
63+
assert!(
64+
!result.contains(" "),
65+
"output should not contain indentation"
66+
);
6467
}
6568

6669
#[test]

0 commit comments

Comments
 (0)