Skip to content

Commit

Permalink
Fix alternative backend syntax example for DRink! (#331)
Browse files Browse the repository at this point in the history
  • Loading branch information
davidsemakula committed Mar 13, 2024
1 parent 5e56289 commit 3065033
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion versioned_docs/version-5.x/testing/drink.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ You can check some helpful and verbose examples [here](https://github.com/inkdev
DRink! is already integrated with the ink! framework and can be used as a drop-in replacement for the standard E2E testing environment.
Just use corresponding argument in the test macro:
```rust
#[ink_e2e::test(backend(runtime_only()))]
#[ink_e2e::test(backend(runtime_only))]
```
to your test function and you have just switched from E2E testcase to DRink!-based one, that doesn't use any running node in the background!

Expand Down

0 comments on commit 3065033

Please sign in to comment.