Skip to content

Commit 2b327dc

Browse files
authored
Fix grammar (#832)
* Update unit-testing.mdx Fixes a grammatical error in the test annotation comment to improve clarity and correctness. The updated comment accurately states that the test is expected to raise an error. * Update docs: grammar fix unit-testing.mdx Fixes a grammatical error in the test annotation comment to improve clarity and correctness. The updated comment accurately states that the test is expected to raise an error.
1 parent 1346d01 commit 2b327dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/nextra/pages/en/build/smart-contracts/book/unit-testing.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ module 0x42::example {
2727
### Expected Failure
2828

2929
A test can also be annotated as an `#[expected_failure]`. This
30-
annotation marks that the test should is expected to raise an error.
30+
annotation marks that the test is expected to raise an error.
3131

3232
You can ensure that a test is aborting with a specific abort `<code>`
3333
by annotating it with `#[expected_failure(abort_code = <code>)]`,

0 commit comments

Comments
 (0)