()
| 94 | |
| 95 | #[test] |
| 96 | fn test_query_execution() { |
| 97 | let temp = create_test_repo(); |
| 98 | |
| 99 | let mut cmd = Command::new(env!("CARGO_BIN_EXE_vcsql")); |
| 100 | cmd.args(["--repo", temp.path().to_str().unwrap()]) |
| 101 | .arg("SELECT short_id, summary FROM commits") |
| 102 | .assert() |
| 103 | .success() |
| 104 | .stdout(predicate::str::contains("Initial commit")); |
| 105 | } |
| 106 | |
| 107 | #[test] |
| 108 | fn test_json_output() { |
nothing calls this directly
no test coverage detected