Fix editcmd__edit_complete_word_cmd test.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>