mirror of
https://github.com/microsoft/GSL.git
synced 2024-11-03 17:56:43 -05:00
Fixing misformatting of ArrayViewComparison.
This commit is contained in:
parent
3ff9b17a9f
commit
54ec02fef6
@ -765,7 +765,6 @@ SUITE(array_view_tests)
|
|||||||
CHECK_THROW(empty_av[0], fail_fast);
|
CHECK_THROW(empty_av[0], fail_fast);
|
||||||
CHECK_THROW(empty_av.begin()[0], fail_fast);
|
CHECK_THROW(empty_av.begin()[0], fail_fast);
|
||||||
CHECK_THROW(empty_av.cbegin()[0], fail_fast);
|
CHECK_THROW(empty_av.cbegin()[0], fail_fast);
|
||||||
|
|
||||||
for (auto& v : empty_av)
|
for (auto& v : empty_av)
|
||||||
{
|
{
|
||||||
CHECK(false);
|
CHECK(false);
|
||||||
@ -774,12 +773,10 @@ SUITE(array_view_tests)
|
|||||||
|
|
||||||
{
|
{
|
||||||
array_view<int> empty_av = {};
|
array_view<int> empty_av = {};
|
||||||
|
|
||||||
CHECK(empty_av.bounds().index_bounds() == index<1>{ 0 });
|
CHECK(empty_av.bounds().index_bounds() == index<1>{ 0 });
|
||||||
CHECK_THROW(empty_av[0], fail_fast);
|
CHECK_THROW(empty_av[0], fail_fast);
|
||||||
CHECK_THROW(empty_av.begin()[0], fail_fast);
|
CHECK_THROW(empty_av.begin()[0], fail_fast);
|
||||||
CHECK_THROW(empty_av.cbegin()[0], fail_fast);
|
CHECK_THROW(empty_av.cbegin()[0], fail_fast);
|
||||||
|
|
||||||
for (auto& v : empty_av)
|
for (auto& v : empty_av)
|
||||||
{
|
{
|
||||||
CHECK(false);
|
CHECK(false);
|
||||||
|
Loading…
Reference in New Issue
Block a user