mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2025-02-22 01:45:36 +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"},
|
"opensuse": {"suse", "opensuse-tumbleweed"},
|
||||||
"whonix": {},
|
"whonix": {},
|
||||||
}
|
}
|
||||||
|
)
|
||||||
|
|
||||||
func NewOSRelease() map[string]string {
|
func NewOSRelease() map[string]string {
|
||||||
var lines []string
|
var lines []string
|
||||||
|
|
|
@ -129,7 +129,6 @@ func TestNewOSRelease(t *testing.T) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
if got := NewOSRelease(); !reflect.DeepEqual(got, tt.want) {
|
if got := NewOSRelease(); !reflect.DeepEqual(got, tt.want) {
|
||||||
pp.Print(got)
|
|
||||||
t.Errorf("NewOSRelease() = %v, want %v", got, tt.want)
|
t.Errorf("NewOSRelease() = %v, want %v", got, tt.want)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
Loading…
Add table
Reference in a new issue