Fix ClangParserTest.cpp

The test does not use a test fixture, so it needs to be declared with
the TEST macro.

llvm-svn: 333992
This commit is contained in:
Pavel Labath 2018-06-05 09:33:26 +00:00
parent 0aafe0cee5
commit 8d1421d317
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ static std::string ComputeClangDir(std::string lldb_shlib_path,
return clang_dir.GetPath();
}
TEST_F(HostInfoTest, MacOSX) {
TEST(ClangHostTest, MacOSX) {
// This returns whatever the POSIX fallback returns.
std::string posix = "/usr/lib/liblldb.dylib";
EXPECT_FALSE(ComputeClangDir(posix).empty());