DI: Fix unit tests after r243160
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>
Fri, 24 Jul 2015 21:11:06 +0000 (21:11 +0000)
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>
Fri, 24 Jul 2015 21:11:06 +0000 (21:11 +0000)
These always empty fields are gone, so don't test that they're empty.

llvm-svn: 243162

llvm/unittests/IR/MetadataTest.cpp

index b58615c..260ce85 100644 (file)
@@ -1260,10 +1260,6 @@ TEST_F(DISubroutineTypeTest, get) {
   EXPECT_EQ(nullptr, N->getScope());
   EXPECT_EQ(nullptr, N->getFile());
   EXPECT_EQ("", N->getName());
-  EXPECT_EQ(nullptr, N->getBaseType());
-  EXPECT_EQ(nullptr, N->getVTableHolder());
-  EXPECT_EQ(nullptr, N->getTemplateParams().get());
-  EXPECT_EQ("", N->getIdentifier());
 }
 
 typedef MetadataTest DIFileTest;