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
|
```golang
|
||||||
t.Logf()
|
t.Logf()
|
||||||
```
|
```
|
||||||
|
|
||||||
also,
|
also,
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
|
@ -44,6 +45,7 @@ go test github.com/go/pkg/package -v
|
||||||
```golang
|
```golang
|
||||||
t.Fail()
|
t.Fail()
|
||||||
```
|
```
|
||||||
|
|
||||||
### Mark test as failed AND exit
|
### Mark test as failed AND exit
|
||||||
|
|
||||||
```golang
|
```golang
|
||||||
|
@ -91,9 +93,9 @@ if os.Getenv("DRONE") == "true" {
|
||||||
This test is too long ? Skip it !
|
This test is too long ? Skip it !
|
||||||
|
|
||||||
```golang
|
```golang
|
||||||
if testing.Short() {
|
if testing.Short() {
|
||||||
t.Skip("Skipping test in short mode")
|
t.Skip("Skipping test in short mode")
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
|
|
|
@ -4,7 +4,6 @@
|
||||||
|
|
||||||
For example, this can be used to deserialize toml into a dedicated struct.
|
For example, this can be used to deserialize toml into a dedicated struct.
|
||||||
|
|
||||||
|
|
||||||
## Example, with toml
|
## Example, with toml
|
||||||
|
|
||||||
Here is how serde after version 1.0 (included) should be used with serialize/deserialize mechanisms.
|
Here is how serde after version 1.0 (included) should be used with serialize/deserialize mechanisms.
|
||||||
|
|
|
@ -13,4 +13,3 @@ Reality says
|
||||||
```shell
|
```shell
|
||||||
mongo --username user --password='passwd'
|
mongo --username user --password='passwd'
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue