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:
-rw-r--r--tests/utils_tests.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/utils_tests.cpp b/tests/utils_tests.cpp
index 98faf58..a9408c0 100644
--- a/tests/utils_tests.cpp
+++ b/tests/utils_tests.cpp
@@ -109,7 +109,7 @@ TEST(utils_tests, narrow)
EXPECT_TRUE(c == 120);
n = 300;
- EXPECT_DEATH(narrow<char>(n), deathstring);
+ EXPECT_THROW(narrow<char>(n), narrowing_error);
const auto int32_max = std::numeric_limits<int32_t>::max();
const auto int32_min = std::numeric_limits<int32_t>::min();