Distinguish between C++11 language and library support for <initializer_list>.

Fix spelling: repositary -> repository.
Pull in gtest 671.
This commit is contained in:
kosak
2013-12-04 23:49:07 +00:00
parent 6414d806cd
commit 18489fa4f8
4 changed files with 10 additions and 10 deletions

View File

@@ -630,7 +630,7 @@ TEST(ElementsAreArrayTest, CanBeCreatedWithVector) {
EXPECT_THAT(test_vector, Not(ElementsAreArray(expected)));
}
#if GTEST_LANG_CXX11
#if GTEST_HAS_STD_INITIALIZER_LIST_
TEST(ElementsAreArrayTest, TakesInitializerList) {
const int a[5] = { 1, 2, 3, 4, 5 };
@@ -666,7 +666,7 @@ TEST(ElementsAreArrayTest,
{ Eq(1), Ne(-2), Ge(3), Le(4), Eq(6) })));
}
#endif // GTEST_LANG_CXX11
#endif // GTEST_HAS_STD_INITIALIZER_LIST_
TEST(ElementsAreArrayTest, CanBeCreatedWithMatcherVector) {
const int a[] = { 1, 2, 3 };