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

View File

@ -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.
@ -54,4 +53,4 @@ toml = "0.5.1"
```txt ```txt
name: example, url: https://example.com name: example, url: https://example.com
``` ```

View File

@ -4,4 +4,4 @@
```shell ```shell
find /proc -maxdepth 2 -type f -iname status -exec grep -HR VmSwap {} \; | grep -v " 0 kB" 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 dest: /etc/telegraf/telegraf.d/input.docker.conf
notify: reload telegraf notify: reload telegraf
when: "'docker' in services" when: "'docker' in services"
``` ```

View File

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

View File

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