Skip to content

Commit

Permalink
Merge pull request #262 from orzechow/patch-1
Browse files Browse the repository at this point in the history
Specify directories for test files in testing.md
  • Loading branch information
epage authored Jan 10, 2025
2 parents aa28149 + 6b677b6 commit 7505772
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tutorial/testing.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ fn check_answer_validity() {
}
```

You can put this snippet of code in pretty much any file
You can put this snippet of code in pretty much any source file in your package
and `cargo test` will find
and run it.
The key here is the `#[test]` attribute.
Expand Down

0 comments on commit 7505772

Please sign in to comment.