Skip to content

Commit 5a3d9d3

Browse files
committed
functional tests: formatting lint
Signed-off-by: Sebastien Duthil <duthils@duthils.net>
1 parent c9c6b5a commit 5a3d9d3

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

functional-tests/src/lib.rs

+8-4
Original file line numberDiff line numberDiff line change
@@ -552,8 +552,10 @@ b: ba"#
552552
#[test]
553553
fn unset_json_file() {
554554
// Test removal of tree branch
555-
let file_path =
556-
prepare_temp_file("test_unset.json", r#"{"a": 2, "b": "ba", "c": [1,2]}"#.as_bytes());
555+
let file_path = prepare_temp_file(
556+
"test_unset.json",
557+
r#"{"a": 2, "b": "ba", "c": [1,2]}"#.as_bytes(),
558+
);
557559
assert!(
558560
Command::new(SOPS_BINARY_PATH)
559561
.arg("encrypt")
@@ -661,8 +663,10 @@ b: ba"#
661663
#[test]
662664
fn unset_yaml_file() {
663665
// Test removal of tree branch
664-
let file_path =
665-
prepare_temp_file("test_unset.yaml", r#"{"a": 2, "b": "ba", "c": [1,2]}"#.as_bytes());
666+
let file_path = prepare_temp_file(
667+
"test_unset.yaml",
668+
r#"{"a": 2, "b": "ba", "c": [1,2]}"#.as_bytes(),
669+
);
666670
assert!(
667671
Command::new(SOPS_BINARY_PATH)
668672
.arg("encrypt")

0 commit comments

Comments
 (0)