Fix: format all the stuff
This commit is contained in:
parent
2238814e3c
commit
2715a87c64
6 changed files with 9 additions and 9 deletions
|
@ -31,6 +31,7 @@ or
|
|||
```golang
|
||||
t.Logf()
|
||||
```
|
||||
|
||||
also,
|
||||
|
||||
```shell
|
||||
|
@ -44,6 +45,7 @@ go test github.com/go/pkg/package -v
|
|||
```golang
|
||||
t.Fail()
|
||||
```
|
||||
|
||||
### Mark test as failed AND exit
|
||||
|
||||
```golang
|
||||
|
@ -91,9 +93,9 @@ if os.Getenv("DRONE") == "true" {
|
|||
This test is too long ? Skip it !
|
||||
|
||||
```golang
|
||||
if testing.Short() {
|
||||
t.Skip("Skipping test in short mode")
|
||||
}
|
||||
if testing.Short() {
|
||||
t.Skip("Skipping test in short mode")
|
||||
}
|
||||
```
|
||||
|
||||
```shell
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue