chore: fix wrong grammar
parent
75c3678b80
commit
cd0ba635cd
|
@ -294,8 +294,8 @@
|
|||
with my usecase) thanks to <strong>stretchr/testify</strong>. I init all
|
||||
<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
|
||||
case. Remember if unit test is hit, code coverate is surely increaesed,
|
||||
and that my <strong>goal</strong>.
|
||||
case. Remember if unit test is hit, code coverage is surely increased, and
|
||||
that my <strong>goal</strong>.
|
||||
</p>
|
||||
<div class="highlight highlight-source-go">
|
||||
<pre><span class="pl-c">// Init ServiceSuite as above</span>
|
||||
|
|
|
@ -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**.
|
||||
I init all **default** action on **success** 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
|
||||
// Init ServiceSuite as above
|
||||
|
|
Loading…
Reference in New Issue