Convert expect statement into comment