Fix: format all the stuff

This commit is contained in:
Wilfried OLLIVIER 2019-07-07 21:21:21 +02:00
parent 2238814e3c
commit 2715a87c64
6 changed files with 9 additions and 9 deletions

View file

@ -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

View file

@ -4,7 +4,6 @@
For example, this can be used to deserialize toml into a dedicated struct.
## Example, with toml
Here is how serde after version 1.0 (included) should be used with serialize/deserialize mechanisms.
@ -54,4 +53,4 @@ toml = "0.5.1"
```txt
name: example, url: https://example.com
```
```

View file

@ -4,4 +4,4 @@
```shell
find /proc -maxdepth 2 -type f -iname status -exec grep -HR VmSwap {} \; | grep -v " 0 kB"
```
```

View file

@ -63,4 +63,4 @@ false.
dest: /etc/telegraf/telegraf.d/input.docker.conf
notify: reload telegraf
when: "'docker' in services"
```
```

View file

@ -6,4 +6,4 @@
```shell
docker container inspect --format='{{range .NetworkSettings.Networks }}{{ .IPAddress }}{{ end }}' upbeat_babbage
```
```

View file

@ -13,4 +13,3 @@ Reality says
```shell
mongo --username user --password='passwd'
```