From 63d88f2297dfa269f5594dd92936e8f6a7a5a0b3 Mon Sep 17 00:00:00 2001 From: Tpt Date: Mon, 17 Sep 2018 15:42:04 +0200 Subject: [PATCH] Fixes tests --- src/store/numeric_encoder.rs | 2 +- tests/rdf_test_cases.rs | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/store/numeric_encoder.rs b/src/store/numeric_encoder.rs index 50a84ca7..619200be 100644 --- a/src/store/numeric_encoder.rs +++ b/src/store/numeric_encoder.rs @@ -406,7 +406,7 @@ mod test { ]; for term in terms { let encoded = encoder.encode_term(&term).unwrap(); - assert_eq!(term, encoder.decode_term(&encoded).unwrap()) + assert_eq!(term, encoder.decode_term(encoded).unwrap()) } } diff --git a/tests/rdf_test_cases.rs b/tests/rdf_test_cases.rs index a2c88062..56cf3d18 100644 --- a/tests/rdf_test_cases.rs +++ b/tests/rdf_test_cases.rs @@ -17,7 +17,6 @@ use rudf::rio::turtle::read_turtle; use rudf::sparql::algebra::Query; use rudf::sparql::parser::read_sparql_query; use rudf::store::isomorphism::GraphIsomorphism; -use rudf::store::Graph; use rudf::store::MemoryGraph; use std::error::Error; use std::fmt;