mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2025-01-18 17:08:09 +01:00
chore: cleanup unit test.
This commit is contained in:
parent
7efa4b3a4b
commit
cfd4786f76
1 changed files with 1 additions and 3 deletions
|
@ -7,8 +7,6 @@ package aa
|
||||||
import (
|
import (
|
||||||
"reflect"
|
"reflect"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/k0kubun/pp/v3"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
func Test_toAccess(t *testing.T) {
|
func Test_toAccess(t *testing.T) {
|
||||||
|
@ -84,7 +82,7 @@ func Test_toAccess(t *testing.T) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
if !reflect.DeepEqual(got, tt.wants[i]) {
|
if !reflect.DeepEqual(got, tt.wants[i]) {
|
||||||
t.Errorf("toAccess() = %v, want %v", pp.Sprint(got), pp.Sprint(tt.wants[i]))
|
t.Errorf("toAccess() = %v, want %v", got, tt.wants[i])
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in a new issue