Makes sure that everything is imported in tests

pull/10/head
Tpt 6 years ago
parent c7cd43217b
commit 4c01f08e90
  1. 5
      lib/src/store/numeric_encoder.rs

@ -703,10 +703,11 @@ impl<S: StringStore + Default> Default for Encoder<S> {
}
mod test {
#[test]
fn test_encoding() {
use model::*;
use store::numeric_encoder::*;
#[test]
fn test_encoding() {
let encoder: Encoder<MemoryStringStore> = Encoder::default();
let terms: Vec<Term> = vec![
NamedNode::from_str("http://foo.com").unwrap().into(),

Loading…
Cancel
Save