diff options
author | mtklein <mtklein@chromium.org> | 2015-01-14 08:49:10 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-01-14 08:49:10 -0800 |
commit | 2c0e8f13a08f88cce8046cbc6355d3a0cfa6a6c6 (patch) | |
tree | 3d6f1e6fa734f3aa0aa2ce1cf92a77eafd025aca /tests | |
parent | 71c9260e6fa1798ad1e41b2c2ae9b3cce08bb610 (diff) |
Remove self-assignment in a test.
BUG=skia:
Review URL: https://codereview.chromium.org/853723002
Diffstat (limited to 'tests')
-rw-r--r-- | tests/THashCache.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/THashCache.cpp b/tests/THashCache.cpp index 7797431553..c35df6c746 100644 --- a/tests/THashCache.cpp +++ b/tests/THashCache.cpp @@ -47,7 +47,6 @@ DEF_TEST(THashCache, reporter) { Tint k11 = {11}; Element e11(k11, 22); - e11.value = e11.value; Element e11Collision(k11, 0); // Element e42(4, 2); @@ -62,7 +61,6 @@ DEF_TEST(THashCache, reporter) { REPORTER_ASSERT(reporter, NULL == cache.find(k11)); Element& e11_c = cache.add(e11); - e11_c.value = e11_c.value; // Tests for simple insertion, verifying that the returned element // has the same values as the original one |