Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/microsoft/GSL.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJordan Maples [MSFT] <49793787+JordanMaples@users.noreply.github.com>2019-12-13 03:48:59 +0300
committerJordan Maples [MSFT] <49793787+JordanMaples@users.noreply.github.com>2019-12-13 03:48:59 +0300
commit6c5c708877fdae60e2804a7e566538ba71a93d9e (patch)
tree0fafffe3878548e5a0d7dba5c95ce19979aef792 /tests/string_span_tests.cpp
parent0931262acf538479c35a5a4f9e91d97f53e7588e (diff)
change from string to char*
Diffstat (limited to 'tests/string_span_tests.cpp')
-rw-r--r--tests/string_span_tests.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/string_span_tests.cpp b/tests/string_span_tests.cpp
index 386834c..16bcf07 100644
--- a/tests/string_span_tests.cpp
+++ b/tests/string_span_tests.cpp
@@ -72,7 +72,7 @@ auto strnlen(const CharT* s, std::size_t n)
namespace
{
-static const std::string deathstring("Expected Death");
+static const char *deathstring("Expected Death");
template <typename T>
T move_wrapper(T&& t)
@@ -1046,7 +1046,7 @@ TEST(string_span_tests, wzstring)
}
TEST(string_span_tests, u16zstring)
-{
+{
std::set_terminate([] {
std::cerr << "Expected Death. u16zstring";
std::abort();