chore: fix wrong grammar

main
sudo pacman -Syu 2023-07-06 00:23:20 +07:00
parent 75c3678b80
commit cd0ba635cd
2 changed files with 3 additions and 3 deletions

View File

@ -294,8 +294,8 @@
with my usecase) thanks to <strong>stretchr/testify</strong>. I init all with my usecase) thanks to <strong>stretchr/testify</strong>. I init all
<strong>default</strong> action on <strong>success</strong> case. Then I <strong>default</strong> action on <strong>success</strong> case. Then I
<strong>alter</strong> request or mock error for unit test to hit on other <strong>alter</strong> request or mock error for unit test to hit on other
case. Remember if unit test is hit, code coverate is surely increaesed, case. Remember if unit test is hit, code coverage is surely increased, and
and that my <strong>goal</strong>. that my <strong>goal</strong>.
</p> </p>
<div class="highlight highlight-source-go"> <div class="highlight highlight-source-go">
<pre><span class="pl-c">// Init ServiceSuite as above</span> <pre><span class="pl-c">// Init ServiceSuite as above</span>

View File

@ -219,7 +219,7 @@ When I see it, `TestPodBuild` has almost 2000 lines.
The solution I propose here is simple (absolutely not perfect, but good with my usecase) thanks to **stretchr/testify**. The solution I propose here is simple (absolutely not perfect, but good with my usecase) thanks to **stretchr/testify**.
I init all **default** action on **success** case. I init all **default** action on **success** case.
Then I **alter** request or mock error for unit test to hit on other case. Then I **alter** request or mock error for unit test to hit on other case.
Remember if unit test is hit, code coverate is surely increaesed, and that my **goal**. Remember if unit test is hit, code coverage is surely increased, and that my **goal**.
```go ```go
// Init ServiceSuite as above // Init ServiceSuite as above