From e3952516c835351e4e357c5ef3ee913ec78353d3 Mon Sep 17 00:00:00 2001
From: Simon Harrer <simon.harrer@gmail.com>
Date: Thu, 24 Oct 2013 05:50:04 -0400
Subject: [PATCH] Use equals to compare strings instead of ==
---
src/test/java/com/gitblit/tests/ActivityTest.java | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/test/java/com/gitblit/tests/ActivityTest.java b/src/test/java/com/gitblit/tests/ActivityTest.java
index 2271326..3c8d990 100644
--- a/src/test/java/com/gitblit/tests/ActivityTest.java
+++ b/src/test/java/com/gitblit/tests/ActivityTest.java
@@ -27,7 +27,7 @@
public class ActivityTest {
@Test
- public void testGravatarProfile() throws IOException {
+ public void testGravatarProfile() throws IOException {
GravatarProfile profile = ActivityUtils.getGravatarProfile("beau@dentedreality.com.au");
assertEquals("beau", profile.preferredUsername);
}
--
Gitblit v1.9.1