Assertion should be assignment

Small fix. Should be an assignment.