Skip to content

Commit

Permalink
Use return_value() method in e2e test
Browse files Browse the repository at this point in the history
  • Loading branch information
ascjones committed Jan 18, 2023
1 parent 0b31392 commit 9a14e21
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions examples/lang-err-integration-tests/call-builder/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,7 @@ mod call_builder {
.call(&mut ink_e2e::eve(), call, 0, None)
.await
.expect("Calling `call_builder::call_instantiate_fallible` failed")
.value
.return_value()
.expect("Dispatching `call_builder::call_instantiate_fallible` failed.");

assert!(
Expand Down Expand Up @@ -404,7 +404,7 @@ mod call_builder {
.call(&mut ink_e2e::ferdie(), call, 0, None)
.await
.expect("Calling `call_builder::call_instantiate_fallible` failed")
.value
.return_value()
.expect("Dispatching `call_builder::call_instantiate_fallible` failed.");

let contract_result = call_result
Expand Down Expand Up @@ -496,7 +496,7 @@ mod call_builder {
.expect(
"Client failed to call `call_builder::call_instantiate_fallible`.",
)
.value
.return_value()
.expect("Dispatching `call_builder::call_instantiate_fallible` failed.");

assert!(
Expand Down

0 comments on commit 9a14e21

Please sign in to comment.