Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(212)

Unified Diff: runtime/vm/utils_test.cc

Issue 555333002: Fix typo in unit test. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/utils_test.cc
===================================================================
--- runtime/vm/utils_test.cc (revision 40067)
+++ runtime/vm/utils_test.cc (working copy)
@@ -125,7 +125,7 @@
EXPECT_EQ(0, Utils::CountTrailingZeros(0x3));
EXPECT_EQ(kBitsPerWord - 2, Utils::CountLeadingZeros(0x3));
EXPECT_EQ(2, Utils::CountTrailingZeros(0x4));
- EXPECT_EQ(kBitsPerWord - 2, Utils::CountLeadingZeros(0x4));
+ EXPECT_EQ(kBitsPerWord - 3, Utils::CountLeadingZeros(0x4));
EXPECT_EQ(0, Utils::CountTrailingZeros(kUwordMax));
EXPECT_EQ(0, Utils::CountLeadingZeros(kUwordMax));
static const uword kTopBit = static_cast<uword>(1) << (kBitsPerWord - 1);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698