gkistanova accepted this revision. gkistanova added a comment. This revision is now accepted and ready to land. LGTM. This seems a proper GTest way, indeed. Just for the record, the warning was reported by clang 5.0.1. Repository: rL LLVM https://reviews.llvm.org/D43233