diff options
Diffstat (limited to 'src/resources')
-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); } |