Fix unit test failure
This commit is contained in:
parent
1bd6ea51ac
commit
9a63882cd4
|
@ -438,7 +438,7 @@ void testIteratorIncrement() {
|
|||
i += 2;
|
||||
}
|
||||
}
|
||||
{
|
||||
if (size > 0) {
|
||||
int i = xs.size() - 1;
|
||||
for (auto iter = xs.end() - 1; iter >= xs.begin();) {
|
||||
ASSERT(*iter == StringRef(std::to_string(i)));
|
||||
|
@ -454,7 +454,7 @@ void testIteratorIncrement() {
|
|||
i += 2;
|
||||
}
|
||||
}
|
||||
{
|
||||
if (size > 0) {
|
||||
int i = xs.size() - 1;
|
||||
for (auto iter = xs.end() - 1; iter >= xs.begin();) {
|
||||
ASSERT(*iter == StringRef(std::to_string(i)));
|
||||
|
|
Loading…
Reference in New Issue