diff options
author | James Moger <james.moger@gitblit.com> | 2011-07-20 21:08:57 -0400 |
---|---|---|
committer | James Moger <james.moger@gitblit.com> | 2011-07-20 21:08:57 -0400 |
commit | a75a1819f4c7fa5080ddb47545fe9012a842e5b3 (patch) | |
tree | 8c3b362c7edf0cb7aec33edfd72252b55c9e3c77 /tests | |
parent | dd6f08950e36694d9757adc84ed6805620d0c032 (diff) | |
download | gitblit-a75a1819f4c7fa5080ddb47545fe9012a842e5b3.tar.gz gitblit-a75a1819f4c7fa5080ddb47545fe9012a842e5b3.zip |
Misc fixes.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/com/gitblit/tests/ByteFormatTest.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/com/gitblit/tests/ByteFormatTest.java b/tests/com/gitblit/tests/ByteFormatTest.java index 462c2f07..43fee350 100644 --- a/tests/com/gitblit/tests/ByteFormatTest.java +++ b/tests/com/gitblit/tests/ByteFormatTest.java @@ -24,8 +24,8 @@ public class ByteFormatTest extends TestCase { public void testByteFormat() throws Exception {
ByteFormat format = new ByteFormat();
assertTrue(format.format(10).equals("10 b"));
- assertTrue(format.format(1024 * 10).equals("10.0 KB"));
- assertTrue(format.format(1024 * 1000).equals("1,000.0 KB"));
+ assertTrue(format.format(1024 * 10).equals("10 KB"));
+ assertTrue(format.format(1024 * 1000).equals("1,000 KB"));
assertTrue(format.format(2 * 1024 * 1000).equals("2.0 MB"));
assertTrue(format.format(1024 * 1024 * 1000).equals("1,000.0 MB"));
assertTrue(format.format(2 * 1024 * 1024 * 1000).equals("2.0 GB"));
|