Browse Source

[2157] use ADD_FAILURE instead of ASSERT_FALSE("string")

Yoshitaka Aharen 12 years ago
parent
commit
91a81c3b9a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/bin/auth/tests/statistics_unittest.cc.pre

+ 1 - 1
src/bin/auth/tests/statistics_unittest.cc.pre

@@ -71,7 +71,7 @@ flatten(std::map<std::string, int>& flat_map, const std::string& prefix,
                 flat_map[prefix + i->first] = i->second->intValue();
                 break;
             default:
-                EXPECT_FALSE("Element Parse Error");
+                FAIL() << "Element Parse Error";
         }
     }
 }