Update tst_QSvgRenderer to get rid of the extra directive


Rearrange test functions to get rid of the extra directive
in the file.

Pick-to: 6.12 6.11
Change-Id: Ia977c87af1db69d9a88c5cf05ce5722d60a27bef
Reviewed-by: Robert Löhning <robert.loehning@qt.io>
commit200177fda4fb3dff8971cd064f4a61f96ba21e50
parentbbbb97aaf2c76666c95045a282d4e72ad68bc5c5
authorHatem ElKharashy <hatem.elkharashy@qt.io>
committerHatem ElKharashy <hatem.elkharashy@qt.io>
commit timeTue, 25 Aug 2026 10:16:26 +0000