Skip to content

Commit

Permalink
Make test sessioned_graph mutable.
Browse files Browse the repository at this point in the history
  • Loading branch information
maldrake committed May 31, 2021
1 parent b66a7e8 commit a30e913
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion gremlin-client/tests/integration_client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ fn test_empty_query() {
#[test]
fn test_session_empty_query() {
let mut graph = graph();
let sessioned_graph = graph
let mut sessioned_graph = graph
.create_session("test-session".to_string())
.expect("It should create a session.");
assert_eq!(
Expand Down
2 changes: 1 addition & 1 deletion gremlin-client/tests/integration_client_async.rs
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ mod aio {
#[cfg_attr(feature = "async-std-runtime", async_std::test)]
async fn test_session_empty_query() {
let mut graph = connect().await;
let sessioned_graph = graph
let mut sessioned_graph = graph
.create_session("test-session".to_string())
.await
.expect("It should create a session");
Expand Down

0 comments on commit a30e913

Please sign in to comment.