Skip to content

Commit

Permalink
functional tests: formatting lint
Browse files Browse the repository at this point in the history
Signed-off-by: Sebastien Duthil <[email protected]>
  • Loading branch information
duthils committed Sep 10, 2024
1 parent c9c6b5a commit 5a3d9d3
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions functional-tests/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -552,8 +552,10 @@ b: ba"#
#[test]
fn unset_json_file() {
// Test removal of tree branch
let file_path =
prepare_temp_file("test_unset.json", r#"{"a": 2, "b": "ba", "c": [1,2]}"#.as_bytes());
let file_path = prepare_temp_file(
"test_unset.json",
r#"{"a": 2, "b": "ba", "c": [1,2]}"#.as_bytes(),
);
assert!(
Command::new(SOPS_BINARY_PATH)
.arg("encrypt")
Expand Down Expand Up @@ -661,8 +663,10 @@ b: ba"#
#[test]
fn unset_yaml_file() {
// Test removal of tree branch
let file_path =
prepare_temp_file("test_unset.yaml", r#"{"a": 2, "b": "ba", "c": [1,2]}"#.as_bytes());
let file_path = prepare_temp_file(
"test_unset.yaml",
r#"{"a": 2, "b": "ba", "c": [1,2]}"#.as_bytes(),
);
assert!(
Command::new(SOPS_BINARY_PATH)
.arg("encrypt")
Expand Down

0 comments on commit 5a3d9d3

Please sign in to comment.