Submitting a PR (#1461) we encountered an awkward issue when running the format script.
When running it with go1.11 everything looks good, on the other hand, running it with go1.10 will fail the test.
This is due to a documented change of behavior in go fmt between 1.10 and 1.11.
golang/go#26228
Ideally the project should use only one version (the latest) of go to run the format script.