libbb: add unit tests for is_prefixed_with()
authorBartosz Golaszewski <bartekgola@gmail.com>
Tue, 25 Aug 2015 11:09:59 +0000 (13:09 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Tue, 25 Aug 2015 13:00:24 +0000 (15:00 +0200)
commitb432923e29dcd8c6f3a528bb9d61952de68e790c
tree9c7127016e93c26ccb1587fbdbbc184ed2174715
parentd86271732828117d32270e9f7b3d128d77e9fa57
libbb: add unit tests for is_prefixed_with()

Test corner cases too like looking for an empty prefix etc.

Signed-off-by: Bartosz Golaszewski <bartekgola@gmail.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
libbb/compare_string_array.c