Skip to content

Commit

Permalink
test_anonymous_traversal_properties_drop
Browse files Browse the repository at this point in the history
  • Loading branch information
criminosis committed Nov 1, 2024
1 parent 54b2457 commit 35d22ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gremlin-client/tests/integration_traversal_omni.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2316,7 +2316,7 @@ fn test_anonymous_traversal_properties_drop(client: GremlinClient) {
//Make sure the property was assigned
assert_map_property(&element_map, pre_drop_prop_key, expected_prop_value);

let created_vertex_id = element_map.get("id").expect("Should have id property");
let created_vertex_id = element_map.get("id").or(element_map.get(T::Id)).expect("Should have id property");
let GValue::Int64(id) = created_vertex_id else {
panic!("Not expected id type");
};
Expand Down

0 comments on commit 35d22ed

Please sign in to comment.