fix a test so it runs on 5.10 and earlier

apparently perl parses things slightly differently, and you can't have the opening brace
on a new line. This is likely an issue in Devel::Declare