On Wed, Dec 18, 2013 at 07:31:48PM +0100, Andreas Färber wrote: > Am 18.12.2013 17:34, schrieb Stefan Hajnoczi: > > Use g_assert_cmpstr() instead of combining g_assert() and strcmp(3). > > I vaguely remember that some such handy function was introduced only > after the minimum GLib version we require. Did you check on that? > But IIRC we already have higher requirements for qtest that for the > non-check code so it might not really matter...
Yes, before using it I did git grep g_assert_cmpstr. It's already used in many other test cases like tests/check-qjson.c. Stefan