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

Unified Diff: ui/base/text/bytes_formatting_unittest.cc

Issue 9490008: Change kB to KB for consistency. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 10 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 | « ui/base/strings/ui_strings.grd ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/text/bytes_formatting_unittest.cc
===================================================================
--- ui/base/text/bytes_formatting_unittest.cc (revision 124625)
+++ ui/base/text/bytes_formatting_unittest.cc (working copy)
@@ -44,8 +44,8 @@
// digits.
{0, DATA_UNITS_BYTE, "0", "0 B"},
{512, DATA_UNITS_BYTE, "512", "512 B"},
- {512, DATA_UNITS_KIBIBYTE, "0.5", "0.5 kB"},
- {1024*1024, DATA_UNITS_KIBIBYTE, "1,024", "1,024 kB"},
+ {512, DATA_UNITS_KIBIBYTE, "0.5", "0.5 KB"},
+ {1024*1024, DATA_UNITS_KIBIBYTE, "1,024", "1,024 KB"},
{1024*1024, DATA_UNITS_MEBIBYTE, "1.0", "1.0 MB"},
{1024*1024*1024, DATA_UNITS_GIBIBYTE, "1.0", "1.0 GB"},
{10LL*1024*1024*1024, DATA_UNITS_GIBIBYTE, "10.0", "10.0 GB"},
@@ -56,8 +56,8 @@
{~(1LL<<63), DATA_UNITS_GIBIBYTE, "8,589,934,592", "8,589,934,592 GB"},
{~(1LL<<63), DATA_UNITS_PEBIBYTE, "8,192", "8,192 PB"},
- {99*1024 + 103, DATA_UNITS_KIBIBYTE, "99.1", "99.1 kB"},
- {1024*1024 + 103, DATA_UNITS_KIBIBYTE, "1,024", "1,024 kB"},
+ {99*1024 + 103, DATA_UNITS_KIBIBYTE, "99.1", "99.1 KB"},
+ {1024*1024 + 103, DATA_UNITS_KIBIBYTE, "1,024", "1,024 KB"},
{1024*1024 + 205 * 1024, DATA_UNITS_MEBIBYTE, "1.2", "1.2 MB"},
{1024*1024*1024 + (927 * 1024*1024), DATA_UNITS_GIBIBYTE,
"1.9", "1.9 GB"},
« no previous file with comments | « ui/base/strings/ui_strings.grd ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698