From 05bda0752fc9580bfb168ff0bcd2c9e03e90e0ca Mon Sep 17 00:00:00 2001 From: XuanYang-cn Date: Thu, 7 Oct 2021 23:52:43 +0800 Subject: [PATCH] [skip ci]Make title clearer in contributing (#9430) Signed-off-by: Yang Xuan --- CONTRIBUTING.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index d0cf34f73..14b142775 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -19,8 +19,8 @@ As for everything else in the project, the contributions to Milvus are governed - [Golang coding style](#golang-coding-style) - [C++ coding style](#c-coding-style) - [Run unit test with code coverage](#run-unit-test-with-code-coverage) - - [Golang](#golang) - - [C++](#c) + - [Golang](#run-golang-unit-tests) + - [C++](#run-c-unit-tests) - [Commits and PRs](#commits-and-prs) ## What contributions can you make? @@ -154,7 +154,7 @@ $ make cppcheck ## Run unit test with code coverage Before submitting your Pull Request, make sure you have run unit test, and your code coverage rate is >= 90%. -### Golang +### Run golang unit tests You can run all the Golang unit tests using make. ```shell @@ -178,7 +178,7 @@ $ go test ./internale/datanode -run SegmentReplica/segmentFlushed ok github.com/milvus-io/milvus/internal/datanode 0.019s ``` -### C++ +### Run C++ unit tests Install lcov ```shell $ sudo apt-get install lcov -- GitLab