[clang-tidy] Fix NOLINT test

Summary:
Test cases I've added in review D26218 were too brittle and weren't working properly.
This patch fixes this.

Reviewers: alexfh

Reviewed By: alexfh

Subscribers: cfe-commits

Patch by Nikita Kakuev!

Differential Revision: https://reviews.llvm.org/D26466

git-svn-id: https://llvm.org/svn/llvm-project/clang-tools-extra/trunk@292926 91177308-0d34-0410-b5e6-96231b3b80d8
1 file changed