Switches from gofmt to gofumpt (#848)

This switches to gofumpt and applies changes, as I've noticed working
in dapr (who uses this) that it finds some things that are annoying,
such as inconsistent block formatting in test tables.

Signed-off-by: Adrian Cole <adrian@tetrate.io>
This commit is contained in:
Crypt Keeper
2022-11-09 05:48:24 +01:00
committed by GitHub
parent b8dce95377
commit 329ccca6b1
76 changed files with 1775 additions and 1101 deletions

View File

@@ -32,7 +32,7 @@ func TestRun(t *testing.T) {
}
wasmPath := filepath.Join(t.TempDir(), "cli.wasm")
require.NoError(t, os.WriteFile(wasmPath, cliWasm, 0755))
require.NoError(t, os.WriteFile(wasmPath, cliWasm, 0o755))
// We can't invoke go run in our docker based cross-architecture tests. We do want to use
// otherwise so running unit tests normally does not require special build steps.