parser test editor: Fix emitting of !! hooks
authorKunal Mehta <legoktm@member.fsf.org>
Sun, 29 Jan 2017 09:56:43 +0000 (01:56 -0800)
committerTim Starling <tstarling@wikimedia.org>
Tue, 31 Jan 2017 03:12:15 +0000 (03:12 +0000)
commit1deada4f7fed44afb7e11e2eb592de6895433ea3
tree7cb47f21de480eca2e2ddc7266b1e3e4cf05f6aa
parent728cd57b2d5ff799d15f14791bb8680eb6d1dacc
parser test editor: Fix emitting of !! hooks

The first newline was missing so a block like:
 !! hooks
 source
 !! endhooks

would turn into:
 !! hookssource
 !! endhooks

Change-Id: I2a4c5e52050d55fb0c9b4f5d0494eb00e34b233c
tests/parser/TestFileEditor.php