GitLab interview question

Why that test doesnt work