зеркало из https://github.com/mozilla/moz-skia.git
Fix incorrect assert in r13895.
git-svn-id: http://skia.googlecode.com/svn/trunk@13896 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
Родитель
95ebd17cf4
Коммит
34ce63ca6b
|
@ -19,7 +19,7 @@ static void TestTSet_basic(skiatest::Reporter* reporter) {
|
|||
REPORTER_ASSERT(reporter, a.count() == 0);
|
||||
|
||||
// { }, add a default constructed element
|
||||
REPORTER_ASSERT(reporter, a.push_back());
|
||||
a.push_back() = 0;
|
||||
REPORTER_ASSERT(reporter, !a.empty());
|
||||
REPORTER_ASSERT(reporter, a.count() == 1);
|
||||
|
||||
|
@ -29,7 +29,7 @@ static void TestTSet_basic(skiatest::Reporter* reporter) {
|
|||
REPORTER_ASSERT(reporter, a.count() == 0);
|
||||
|
||||
// { }, add a default, add a 1, remove first
|
||||
REPORTER_ASSERT(reporter, a.push_back());
|
||||
a.push_back() = 0;
|
||||
REPORTER_ASSERT(reporter, a.push_back() = 1);
|
||||
a.removeShuffle(0);
|
||||
REPORTER_ASSERT(reporter, !a.empty());
|
||||
|
|
Загрузка…
Ссылка в новой задаче