From f3b625d298bab922c64192c25914e352bd87e59e Mon Sep 17 00:00:00 2001
From: John Crygier <john.crygier@aon.com>
Date: Tue, 10 Apr 2012 13:48:06 -0400
Subject: [PATCH] Rework LDAP implementation with unboundid.  Also allows for an LDAP server to be started with Gitblit GO (backed by an LDIF file).

---
 tests/com/gitblit/tests/StringUtilsTest.java |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/tests/com/gitblit/tests/StringUtilsTest.java b/tests/com/gitblit/tests/StringUtilsTest.java
index 71d055f..2e00fa3 100644
--- a/tests/com/gitblit/tests/StringUtilsTest.java
+++ b/tests/com/gitblit/tests/StringUtilsTest.java
@@ -76,7 +76,7 @@
 	public void testTrim() throws Exception {
 		String input = "123456789 123456789 123456789 123456789 123456789 123456789 123456789 ";
 		String output = "123456789 123456789 123456789 123456789 123456789 1234567...";
-		assertEquals(output, StringUtils.trimShortLog(input));
+		assertEquals(output, StringUtils.trimString(input, 60));
 		assertEquals(input, StringUtils.trimString(input, input.length()));
 	}
 

--
Gitblit v1.9.1