Remove error in assertion call