Skip to content

Commit

Permalink
go fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
apprehensions committed Dec 11, 2023
1 parent 8054419 commit 4f5090b
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion config/config_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ func TestGlobal(t *testing.T) {
},
Global: Binary{
Launcher: "meow",
Dxvk: true,
Dxvk: true,
Env: Environment{
"MEOW": "GLOBAL",
},
Expand Down
10 changes: 5 additions & 5 deletions roblox/bootstrapper/pkg_manifest.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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],
Expand Down
16 changes: 8 additions & 8 deletions roblox/fflags_test.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package roblox

import (
"testing"
"errors"
"maps"
"testing"
)

func TestFFlagRenderer(t *testing.T) {
Expand All @@ -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) {
Expand Down

0 comments on commit 4f5090b

Please sign in to comment.