()
| 119 | |
| 120 | #[test] |
| 121 | fn test_csv_output() { |
| 122 | let temp = create_test_repo(); |
| 123 | |
| 124 | let mut cmd = Command::new(env!("CARGO_BIN_EXE_vcsql")); |
| 125 | cmd.args(["--repo", temp.path().to_str().unwrap(), "--format", "csv"]) |
| 126 | .arg("SELECT short_id, summary FROM commits") |
| 127 | .assert() |
| 128 | .success() |
| 129 | .stdout(predicate::str::contains("short_id,summary")); |
| 130 | } |
| 131 | |
| 132 | #[test] |
| 133 | fn test_nonexistent_repo() { |
nothing calls this directly
no test coverage detected