]> git.ipfire.org Git - thirdparty/dovecot/core.git/commit
lib: Fix str_begins() unit test
authorTimo Sirainen <timo.sirainen@open-xchange.com>
Fri, 10 Apr 2020 16:08:24 +0000 (19:08 +0300)
committertimo.sirainen <timo.sirainen@open-xchange.com>
Wed, 23 Mar 2022 10:25:06 +0000 (10:25 +0000)
commit783b30820660ed1706e884b2e0146615a174e136
treeee1478294a8adc1ecf1523c4a60216f288b52ce8
parent16e3bd848deb51e070bb418d89499e2a318753ad
lib: Fix str_begins() unit test

c05976729405180c565aad464cb494c731a640b3 replaced all strncmp() calls to
str_begins(). This caused str_begins() to be tested against str_begins()
itself, which obviously always works. Reverted the change.
src/lib/test-strfuncs.c