Skip to content
Snippets Groups Projects
Commit e2f76ad7 authored by David Gow's avatar David Gow Committed by John Johansen
Browse files

apparmor: test: Remove some casts which are no-longer required


With some of the stricter type checking in KUnit's EXPECT macros
removed, several casts in policy_unpack_test are no longer required.

Remove the unnecessary casts, making the conditions clearer.

Reviewed-by: default avatarBrendan Higgins <brendanhiggins@google.com>
Acked-by: default avatarJohn Johansen <john.johansen@canonical.com>
Signed-off-by: default avatarDavid Gow <davidgow@google.com>
Signed-off-by: default avatarJohn Johansen <john.johansen@canonical.com>
parent 417ea9fe
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment