only mark as a failure if we see an expected string