Update README.md

main
Kris Nóva 2021-02-11 18:26:02 -08:00 committed by GitHub
parent cc6c897160
commit 22b5c3c752
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -12,7 +12,7 @@ To add a test please try to have both `Happy` and `Sad` tests defined for all ne
Example test:
#####mymethod_test.go
##### mymethod_test.go
```go
@ -27,7 +27,7 @@ func TestHappyMethod(t *testing.T) {
}
// TestSadMethod will false positive test my new method
func TestHappyMethod(t *testing.T) {
func TestSadMethod(t *testing.T) {
params := "my bad input"
_, err := Client.V1().Method(params)
if err == nil {
@ -36,4 +36,4 @@ func TestHappyMethod(t *testing.T) {
}
}
```
```