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

Function test_table_not_found

crates/vcsql/tests/integration.rs:163–170  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

161
162#[test]
163fn test_table_not_found() {
164 let temp = create_test_repo();
165 let mut repo = GitRepo::open(temp.path()).expect("Failed to open repo");
166 let mut engine = SqlEngine::new().expect("Failed to create engine");
167
168 let result = engine.load_table("nonexistent_table", &mut repo);
169 assert!(matches!(result, Err(VcsqlError::TableNotFound(_))));
170}

Callers

nothing calls this directly

Calls 3

pathMethod · 0.80
load_tableMethod · 0.80
create_test_repoFunction · 0.70

Tested by

no test coverage detected