diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-05-15 19:00:58 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-05-15 19:00:58 +0300 |
commit | 8a70dcea8686a6b0e161143f19f9a53a8223ef68 (patch) | |
tree | 051558829e9043a333bc156fdce2e7edade12f1c /src/resources/mstack_unittest.cc | |
parent | 430f472b0e358ebb2cc7f2113c606f2ea03f7739 (diff) | |
download | plus-8a70dcea8686a6b0e161143f19f9a53a8223ef68.tar.gz plus-8a70dcea8686a6b0e161143f19f9a53a8223ef68.tar.bz2 plus-8a70dcea8686a6b0e161143f19f9a53a8223ef68.tar.xz plus-8a70dcea8686a6b0e161143f19f9a53a8223ef68.zip |
Fix tests.
Diffstat (limited to 'src/resources/mstack_unittest.cc')
-rw-r--r-- | src/resources/mstack_unittest.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/resources/mstack_unittest.cc b/src/resources/mstack_unittest.cc index 6146f28e5..0a2a9caaf 100644 --- a/src/resources/mstack_unittest.cc +++ b/src/resources/mstack_unittest.cc @@ -63,8 +63,8 @@ TEST(mstack, push3) MStack<ClipRect> stack(10); ClipRect &val1 = stack.push(); val1.xOffset = 10; - val1 = stack.top(); - EXPECT_EQ(10, val1.xOffset); + ClipRect &val2 = stack.top(); + EXPECT_EQ(10, val2.xOffset); EXPECT_EQ(10, stack.mStack[0].xOffset); } |