Remove unnecessary expectation.