Fix typo on previous commit.

The peer and error were reversed for the regression test error message
case.

Spotted by @dajohi.