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:
authorNeil MacIntosh <neilmac@fb.com>2018-02-11 06:21:22 +0300
committerNeil MacIntosh <neilmac@fb.com>2018-02-11 06:21:22 +0300
commit2bdbba7418e5b06d100e77831135f8f45970a6cd (patch)
tree1a74c40003043802eb8214af672a817eae19329b /tests/string_span_tests.cpp
parent72688ff009b7fa96099c6c3ea685b40085b5ef79 (diff)
Removed span from-nullptr_t ctor.
Diffstat (limited to 'tests/string_span_tests.cpp')
-rw-r--r--tests/string_span_tests.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/tests/string_span_tests.cpp b/tests/string_span_tests.cpp
index 83171ac..0032b0f 100644
--- a/tests/string_span_tests.cpp
+++ b/tests/string_span_tests.cpp
@@ -511,12 +511,6 @@ TEST_CASE("Constructors")
CHECK(span.length() == 0);
}
- // from nullptr
- {
- cstring_span<> span(nullptr);
- CHECK(span.length() == 0);
- }
-
// from string literal
{
cstring_span<> span = "Hello";