Same in NSW, marriage revokes a will, s12, but a specific wording that says the will is made in contemplation of marriage will mean the will is not revoked.
I think the idea behind the divorce revoking a will is that most people are slack at amending their wills so people would often divorce...