aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc/unit_testing.md
diff options
context:
space:
mode:
Diffstat (limited to 'doc/unit_testing.md')
-rw-r--r--doc/unit_testing.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/unit_testing.md b/doc/unit_testing.md
index 0aa9be9b9d..ca5648130c 100644
--- a/doc/unit_testing.md
+++ b/doc/unit_testing.md
@@ -56,7 +56,7 @@ Such a mock can be auto-generated by:
1. Setting flag(generate_mock_code=true) on grpc plugin for protoc, or
-1. Setting an attribute(generate_mock) in your bazel rule.
+1. Setting an attribute(generate_mocks) in your bazel rule.
Protoc plugin flag:
@@ -70,7 +70,7 @@ Bazel rule:
grpc_proto_library(
name = "echo_proto",
srcs = ["echo.proto"],
- generate_mock = True,
+ generate_mocks = True,
)
```