Explorar el Código

gofumpt the linter

Patrick Devine hace 3 meses
padre
commit
2591979d3b
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      convert/convert_test.go

+ 1 - 1
convert/convert_test.go

@@ -137,7 +137,7 @@ func TestConvertModel(t *testing.T) {
 				if err != nil {
 					t.Fatal(err)
 				}
-				if err := os.WriteFile(outFile, data, 0644); err != nil {
+				if err := os.WriteFile(outFile, data, 0o644); err != nil {
 					t.Fatal(err)
 				}
 				t.Logf("Generated expected results for %s", tt)