[clang-tools-extra] [clang-tidy] Strange behaviour of passing/failing tests/unittests while implementing a check

Hi,

I have implemented a simple check for clang-tidy, but a strange thing happens.
Tests run by lit pass without problems, but unittests do not. They are however essentially the same.
I can make it the other way round changing one line in the code (follow the review link and see the note).
I am running tests on Win8.1, compiling with MSVC-12.0, 64-bit.

I have uploaded a diff to http://reviews.llvm.org/D5395.

Any comments are welcome.

Regards,

Marek Kurdej