Skip to content
Commit 494a5e12 authored by Andy Shevchenko's avatar Andy Shevchenko Committed by Simon Glass
Browse files

test: Use positive conditional in test_matches()



It is easier to read the positive conditional.

While at it, convert hard coded length of "_test_" to strlen("_test_")
which will be converted to a constant bu optimizing compiler.

Signed-off-by: default avatarAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: default avatarSimon Glass <sjg@chromium.org>
parent ff232a72
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment