summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-05-15 19:00:58 +0300
committerAndrei Karas <akaras@inbox.ru>2015-05-15 19:00:58 +0300
commit8a70dcea8686a6b0e161143f19f9a53a8223ef68 (patch)
tree051558829e9043a333bc156fdce2e7edade12f1c /src
parent430f472b0e358ebb2cc7f2113c606f2ea03f7739 (diff)
downloadmanaverse-8a70dcea8686a6b0e161143f19f9a53a8223ef68.tar.gz
manaverse-8a70dcea8686a6b0e161143f19f9a53a8223ef68.tar.bz2
manaverse-8a70dcea8686a6b0e161143f19f9a53a8223ef68.tar.xz
manaverse-8a70dcea8686a6b0e161143f19f9a53a8223ef68.zip
Fix tests.
Diffstat (limited to 'src')
-rw-r--r--src/resources/mstack_unittest.cc4
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);
}