fix: cleanup go code.

This commit is contained in:
Alexandre Pujol 2024-02-29 00:38:29 +00:00
parent ffb189ef65
commit 717496e7df
Failed to generate hash of commit
2 changed files with 1 additions and 1 deletions

View file

@ -21,6 +21,7 @@ var (
"opensuse": {"suse", "opensuse-tumbleweed"},
"whonix": {},
}
)
func NewOSRelease() map[string]string {
var lines []string

View file

@ -129,7 +129,6 @@ func TestNewOSRelease(t *testing.T) {
return
}
if got := NewOSRelease(); !reflect.DeepEqual(got, tt.want) {
pp.Print(got)
t.Errorf("NewOSRelease() = %v, want %v", got, tt.want)
}
})