SupportTest: Fix test names harder
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>
Tue, 29 Apr 2014 17:07:45 +0000 (17:07 +0000)
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>
Tue, 29 Apr 2014 17:07:45 +0000 (17:07 +0000)
r207552, r207553 and r207554 all had bad test names.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@207560 91177308-0d34-0410-b5e6-96231b3b80d8

unittests/Support/BranchProbabilityTest.cpp

index 09061de332da0fab3b5ecaae7e11f5dcf35ec287..bbd4d4eba1c0da8aa56e96a8e7f90279605e3b04 100644 (file)
@@ -80,7 +80,7 @@ TEST(BranchProbabilityTest, Operators) {
   EXPECT_TRUE(BP(4, 7) != BP(3, 7));
 }
 
   EXPECT_TRUE(BP(4, 7) != BP(3, 7));
 }
 
-TEST(BlockProbabilityTest, MoreOperators) {
+TEST(BranchProbabilityTest, MoreOperators) {
   BP A(4, 5);
   BP B(4U << 29, 5U << 29);
   BP C(3, 4);
   BP A(4, 5);
   BP B(4U << 29, 5U << 29);
   BP C(3, 4);
@@ -184,7 +184,7 @@ TEST(BranchProbabilityTest, scaleByInverse) {
             BP(Two31 + 1, UINT32_MAX).scaleByInverse(Two63 + Two31));
 }
 
             BP(Two31 + 1, UINT32_MAX).scaleByInverse(Two63 + Two31));
 }
 
-TEST(BlockProbabilityTest, scaleBruteForce) {
+TEST(BranchProbabilityTest, scaleBruteForce) {
   struct {
     uint64_t Num;
     uint32_t Prob[2];
   struct {
     uint64_t Num;
     uint32_t Prob[2];