Skip to content

Commit

Permalink
chore: Update docs for writing UI tests to use case for the test fu…
Browse files Browse the repository at this point in the history
…nction name
  • Loading branch information
Muscraft committed Feb 20, 2023
1 parent 41cd166 commit 822b257
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/doc/contrib/src/tests/writing.md
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ use cargo_test_support::Project;
use cargo_test_support::curr_dir;
#[cargo_test]
fn <name>() {
fn case() {
let project = Project::from_template(curr_dir!().join("in"));
let project_root = project.root();
let cwd = &project_root;
Expand Down

0 comments on commit 822b257

Please sign in to comment.