change from string to char*

This commit is contained in:
Jordan Maples [MSFT]
2019-12-12 16:48:59 -08:00
parent 0931262acf
commit 6c5c708877
10 changed files with 18 additions and 21 deletions
+2 -2
View File
@@ -41,7 +41,7 @@
#include <vector> // for vector
namespace{
static const std::string deathstring("Expected Death");
static const char *deathstring("Expected Death");
}
TEST(at_tests, static_array)
@@ -115,7 +115,7 @@ TEST(at_tests, InitializerList)
EXPECT_TRUE(gsl::at(a, i) == i + 1);
EXPECT_TRUE(gsl::at({1, 2, 3, 4}, i) == i + 1);
}
std::set_terminate([] {
std::cerr << "Expected Death. InitializerList";
std::abort();