clerezza-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r...@apache.org
Subject [87/87] [abbrv] clerezza git commit: CLEREZZA-960: fixed test to reflect lowercasing of languages (this test should be in rdf-core project anyway)
Date Tue, 14 Apr 2015 13:14:02 GMT
CLEREZZA-960: fixed test to reflect lowercasing of languages (this test should be in rdf-core
project anyway)

Project: http://git-wip-us.apache.org/repos/asf/clerezza/repo
Commit: http://git-wip-us.apache.org/repos/asf/clerezza/commit/9e95aae0
Tree: http://git-wip-us.apache.org/repos/asf/clerezza/tree/9e95aae0
Diff: http://git-wip-us.apache.org/repos/asf/clerezza/diff/9e95aae0

Branch: refs/heads/master
Commit: 9e95aae0efed21eff37c50e95bd5c721c07456da
Parents: ae73d1f
Author: Reto Gmuer <reto@apache.org>
Authored: Tue Apr 14 10:29:19 2015 +0000
Committer: Reto Gmuer <reto@apache.org>
Committed: Tue Apr 14 10:29:19 2015 +0000

----------------------------------------------------------------------
 .../test/java/org/apache/clerezza/rdf/core/LanguageTest.java    | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/clerezza/blob/9e95aae0/rdf/core/src/test/java/org/apache/clerezza/rdf/core/LanguageTest.java
----------------------------------------------------------------------
diff --git a/rdf/core/src/test/java/org/apache/clerezza/rdf/core/LanguageTest.java b/rdf/core/src/test/java/org/apache/clerezza/rdf/core/LanguageTest.java
index e5a42fa..21d53c3 100644
--- a/rdf/core/src/test/java/org/apache/clerezza/rdf/core/LanguageTest.java
+++ b/rdf/core/src/test/java/org/apache/clerezza/rdf/core/LanguageTest.java
@@ -20,8 +20,9 @@ package org.apache.clerezza.rdf.core;
 
 
 import org.apache.clerezza.commons.rdf.Language;
+import org.junit.Assert;
 import org.junit.Test;
-import junit.framework.Assert;
+
 
 /**
  *
@@ -41,7 +42,7 @@ public class LanguageTest {
     
     @Test
     public void toStringTest() {
-        final String id = "DE";
+        final String id = "de";
         Language lang1 = new Language(id);
         Assert.assertEquals(lang1.toString(), id);
     }


Mime
View raw message