From 49799e267bffc085ad07e8b07538ef718607b0a9 Mon Sep 17 00:00:00 2001 From: Allan Clements Date: Thu, 14 Nov 2024 16:42:04 -0600 Subject: [PATCH] Removed opaque assert_eq losing Err message --- gremlin-client/tests/custom_vertex_ids.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gremlin-client/tests/custom_vertex_ids.rs b/gremlin-client/tests/custom_vertex_ids.rs index 4f37853..92112a0 100644 --- a/gremlin-client/tests/custom_vertex_ids.rs +++ b/gremlin-client/tests/custom_vertex_ids.rs @@ -47,8 +47,8 @@ fn test_mapping_custom_vertex_id(protocol: IoProtocol) { .property("date", 1551825863 as i64) .value_map(true) .by(TraversalBuilder::new(Bytecode::new()).unfold()) - .next(); - assert_eq!(mark.is_ok(), true); + .next() + .expect("Should get a response"); #[derive(Debug, PartialEq, FromGMap)] struct Person {