MCPcopy Create free account
hub / github.com/douglance/devsql / test_csv_output

Function test_csv_output

crates/vcsql/tests/cli.rs:121–130  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

119
120#[test]
121fn 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]
133fn test_nonexistent_repo() {

Callers

nothing calls this directly

Calls 2

pathMethod · 0.80
create_test_repoFunction · 0.70

Tested by

no test coverage detected