Fix error reporting in the TidyMappingsTest

`tools/tidy_mappings.pl` is failing on OS X, but we couldn't see the real failure because of this typo.