Skip to content

Commit

Permalink
HACK: dump stdout
Browse files Browse the repository at this point in the history
  • Loading branch information
felixfontein committed Feb 9, 2021
1 parent 3bc88e8 commit 0e029ae
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions functional-tests/src/lib.rs
Expand Up @@ -447,6 +447,7 @@ b: ba"#
.output()
.expect("Error running sops");
assert!(output.status.success(), "SOPS didn't return successfully");
println!("stdout: '{test}'", test=String::from_utf8_lossy(&output.stdout));
assert!(String::from_utf8_lossy(&output.stdout).contains("first comment in file"), "Comment was not decrypted");
assert!(String::from_utf8_lossy(&output.stdout).contains("this-is-a-comment"), "Comment was not decrypted");
}
Expand All @@ -460,6 +461,7 @@ b: ba"#
.output()
.expect("Error running sops");
assert!(output.status.success(), "SOPS didn't return successfully");
println!("stdout: '{test}'", test=String::from_utf8_lossy(&output.stdout));
assert!(String::from_utf8_lossy(&output.stdout).contains("first comment in file"), "Comment was not decrypted");
assert!(String::from_utf8_lossy(&output.stdout).contains("this-is-a-comment"), "Comment was not decrypted");
}
Expand Down

0 comments on commit 0e029ae

Please sign in to comment.