add assert in one line