A captain's knock by Charith Asalanka steered Sri Lanka to a hard-fought four-wicket victory over New Zealand with six balls…