diff options
author | Jordan Maples [MSFT] <49793787+JordanMaples@users.noreply.github.com> | 2019-12-13 03:48:59 +0300 |
---|---|---|
committer | Jordan Maples [MSFT] <49793787+JordanMaples@users.noreply.github.com> | 2019-12-13 03:48:59 +0300 |
commit | 6c5c708877fdae60e2804a7e566538ba71a93d9e (patch) | |
tree | 0fafffe3878548e5a0d7dba5c95ce19979aef792 /tests/at_tests.cpp | |
parent | 0931262acf538479c35a5a4f9e91d97f53e7588e (diff) |
change from string to char*
Diffstat (limited to 'tests/at_tests.cpp')
-rw-r--r-- | tests/at_tests.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/at_tests.cpp b/tests/at_tests.cpp index 29359e9..98f261a 100644 --- a/tests/at_tests.cpp +++ b/tests/at_tests.cpp @@ -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(); |