The Donegal champions came through with a three-point win