timrwood/moment — pull request #502 by ichernev (2012-11-06 22:43:51+00:00)
Title: Fixed race condition in tests created by preparse/postformat

Sometimes `format YY` test breaks, because numbers get replaced by characters, which comes from the postformat test -- it didn't clean up properly. Now it does clean up, so the issue should not arise again.

It is not a complete solution tough. If in the future there are more languages that require postformat, all tests that change the language should also, at the end set the language back to English.