()
| 66 | |
| 67 | /// Validate a valid SRCINFO file input from stdin |
| 68 | #[test] |
| 69 | fn validate_stdin() -> TestResult { |
| 70 | let mut cmd = cargo_bin_cmd!("alpm-srcinfo"); |
| 71 | cmd.args(vec!["validate"]); |
| 72 | cmd.write_stdin(VALID_SRCINFO); |
| 73 | |
| 74 | // Make sure the command was successful |
| 75 | cmd.assert().success(); |
| 76 | |
| 77 | Ok(()) |
| 78 | } |
| 79 | |
| 80 | /// Validate a valid SRCINFO file |
nothing calls this directly
no outgoing calls
no test coverage detected