From 4f5090bce5ea3f66f2c6eb485515f2a1a1221b67 Mon Sep 17 00:00:00 2001 From: sewn Date: Mon, 11 Dec 2023 12:50:22 +0300 Subject: [PATCH] go fmt --- config/config_test.go | 2 +- roblox/bootstrapper/pkg_manifest.go | 10 +++++----- roblox/fflags_test.go | 16 ++++++++-------- 3 files changed, 14 insertions(+), 14 deletions(-) diff --git a/config/config_test.go b/config/config_test.go index f4d97367..f04415c8 100644 --- a/config/config_test.go +++ b/config/config_test.go @@ -16,7 +16,7 @@ func TestGlobal(t *testing.T) { }, Global: Binary{ Launcher: "meow", - Dxvk: true, + Dxvk: true, Env: Environment{ "MEOW": "GLOBAL", }, diff --git a/roblox/bootstrapper/pkg_manifest.go b/roblox/bootstrapper/pkg_manifest.go index 49606f3d..a5980e90 100644 --- a/roblox/bootstrapper/pkg_manifest.go +++ b/roblox/bootstrapper/pkg_manifest.go @@ -24,10 +24,10 @@ var ( ) type Package struct { - Name string - Checksum string - Size int64 - ZipSize int64 + Name string + Checksum string + Size int64 + ZipSize int64 } type Packages []Package @@ -103,7 +103,7 @@ func ParsePackages(manifest []string) (Packages, error) { if err != nil { return pkgs, err } - + pkgs = append(pkgs, Package{ Name: manifest[i], Checksum: manifest[i+1], diff --git a/roblox/fflags_test.go b/roblox/fflags_test.go index 8052a78f..d015a09a 100644 --- a/roblox/fflags_test.go +++ b/roblox/fflags_test.go @@ -1,9 +1,9 @@ package roblox import ( - "testing" "errors" "maps" + "testing" ) func TestFFlagRenderer(t *testing.T) { @@ -26,14 +26,14 @@ func TestFFlagRenderer(t *testing.T) { } expected := FFlags{ - "FFlagDebugGraphicsPreferOpenGL": false, - "FFlagDebugGraphicsPreferD3D11FL10": false, - "FFlagDebugGraphicsPreferD3D11": false, - "FFlagDebugGraphicsPreferVulkan": true, - "FFlagDebugGraphicsDisableOpenGL": true, + "FFlagDebugGraphicsPreferOpenGL": false, + "FFlagDebugGraphicsPreferD3D11FL10": false, + "FFlagDebugGraphicsPreferD3D11": false, + "FFlagDebugGraphicsPreferVulkan": true, + "FFlagDebugGraphicsDisableOpenGL": true, "FFlagDebugGraphicsDisableD3D11FL10": true, - "FFlagDebugGraphicsDisableD3D11": true, - "FFlagDebugGraphicsDisableVulkan": false, + "FFlagDebugGraphicsDisableD3D11": true, + "FFlagDebugGraphicsDisableVulkan": false, } if !maps.Equal(f, expected) {