diff --git a/src/doc/contrib/src/tests/writing.md b/src/doc/contrib/src/tests/writing.md index b08d8b92541..a84dd5d6a41 100644 --- a/src/doc/contrib/src/tests/writing.md +++ b/src/doc/contrib/src/tests/writing.md @@ -171,7 +171,7 @@ use cargo_test_support::Project; use cargo_test_support::curr_dir; #[cargo_test] -fn () { +fn case() { let project = Project::from_template(curr_dir!().join("in")); let project_root = project.root(); let cwd = &project_root;