From c7ebb2407112b8137e2cd7c108dd13957b4cff1e Mon Sep 17 00:00:00 2001
From: James Moger <james.moger@gitblit.com>
Date: Wed, 28 Sep 2011 20:44:23 -0400
Subject: [PATCH] Allow SSL renegotiation on Java 1.6.0_22 and later
---
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 462c2f0..43fee35 100644
--- a/tests/com/gitblit/tests/ByteFormatTest.java
+++ b/tests/com/gitblit/tests/ByteFormatTest.java
@@ -24,8 +24,8 @@
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"));
--
Gitblit v1.9.1