Fixing misformatting of ArrayViewComparison.

This commit is contained in:
Neil MacIntosh 2015-09-14 18:04:40 -07:00
parent 3ff9b17a9f
commit 54ec02fef6

View File

@ -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);