Fixes WASM tests

pull/41/head
Tpt 4 years ago
parent c3ae01e701
commit 955249b3e6
  1. 6
      lib/tests/wasm.rs

@ -13,10 +13,10 @@ mod test {
// insertion
let ex = NamedNode::parse("http://example.com").unwrap();
let quad = Quad::new(ex.clone(), ex.clone(), ex.clone(), None);
store.insert(&quad).unwrap();
store.insert(quad.clone());
// quad filter
let results: Result<Vec<Quad>> = store.quads_for_pattern(None, None, None, None).collect();
assert_eq!(vec![quad], results.unwrap());
let results: Vec<Quad> = store.quads_for_pattern(None, None, None, None).collect();
assert_eq!(vec![quad], results);
// SPARQL query
let prepared_query = store

Loading…
Cancel
Save