Skip to content
This repository has been archived by the owner on Aug 21, 2024. It is now read-only.

Commit

Permalink
Udpate deploy increment file name
Browse files Browse the repository at this point in the history
  • Loading branch information
elizabethengelman committed Feb 28, 2024
1 parent 82c4077 commit 47ca56a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/guides/testing/basic-contract-tests.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: Implement basic tests for a contract
hide_table_of_contents: true
---

A contract's test functions can be used as a simple way to ensure a contract's functions behave as expected. The [increment example contract](../../getting-started/deploy-incrementor.mdx) has a function that increments a counter by one on every invocation. The corresponding test invokes that function several time, ensuring with `assert_eq!(...)` the count increases as expected.
A contract's test functions can be used as a simple way to ensure a contract's functions behave as expected. The [increment example contract](../../getting-started/deploy-increment-contract.mdx) has a function that increments a counter by one on every invocation. The corresponding test invokes that function several time, ensuring with `assert_eq!(...)` the count increases as expected.

```rust
#![cfg(test)]
Expand Down

0 comments on commit 47ca56a

Please sign in to comment.