mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2025-02-20 08:55:34 +01:00
fix: cleanup go code.
This commit is contained in:
parent
ffb189ef65
commit
717496e7df
2 changed files with 1 additions and 1 deletions
|
@ -21,6 +21,7 @@ var (
|
|||
"opensuse": {"suse", "opensuse-tumbleweed"},
|
||||
"whonix": {},
|
||||
}
|
||||
)
|
||||
|
||||
func NewOSRelease() map[string]string {
|
||||
var lines []string
|
||||
|
|
|
@ -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)
|
||||
}
|
||||
})
|
||||
|
|
Loading…
Add table
Reference in a new issue