Will your will survive your wedding? Here’s what the law says