mirror of
https://github.com/microsoft/GSL.git
synced 2024-11-03 17:56:43 -05:00
remove unused variable in test
This commit is contained in:
parent
606100f7f0
commit
ffa749dd31
@ -66,7 +66,6 @@ SUITE(string_span_tests)
|
|||||||
TEST(TestConstructFromStdArray)
|
TEST(TestConstructFromStdArray)
|
||||||
{
|
{
|
||||||
std::array<char, 5> arr {"1234"};
|
std::array<char, 5> arr {"1234"};
|
||||||
auto const size = static_cast<cstring_span<>::size_type>(arr.size());
|
|
||||||
|
|
||||||
string_span<> v = arr;
|
string_span<> v = arr;
|
||||||
CHECK(v.length() == 5);
|
CHECK(v.length() == 5);
|
||||||
|
Loading…
Reference in New Issue
Block a user