improved errors readability when checking statements matching

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

Branch: refs/heads/develop
Commit: bf8e739d4a1514519a3899fca7a0f917c7e7a3ec
Parents: 529f4e6
Author: Sergio Fernández <[email protected]>
Authored: Thu Mar 6 16:38:18 2014 +0100
Committer: Sergio Fernández <[email protected]>
Committed: Thu Mar 6 16:38:18 2014 +0100

----------------------------------------------------------------------
 .../commons/sesame/test/connection/HasStatementMatcher.java        | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/marmotta/blob/bf8e739d/commons/marmotta-sesame-tools/marmotta-sesame-matchers/src/main/java/org/apache/marmotta/commons/sesame/test/connection/HasStatementMatcher.java
----------------------------------------------------------------------
diff --git 
a/commons/marmotta-sesame-tools/marmotta-sesame-matchers/src/main/java/org/apache/marmotta/commons/sesame/test/connection/HasStatementMatcher.java
 
b/commons/marmotta-sesame-tools/marmotta-sesame-matchers/src/main/java/org/apache/marmotta/commons/sesame/test/connection/HasStatementMatcher.java
index 282937e..e04a7aa 100644
--- 
a/commons/marmotta-sesame-tools/marmotta-sesame-matchers/src/main/java/org/apache/marmotta/commons/sesame/test/connection/HasStatementMatcher.java
+++ 
b/commons/marmotta-sesame-tools/marmotta-sesame-matchers/src/main/java/org/apache/marmotta/commons/sesame/test/connection/HasStatementMatcher.java
@@ -51,7 +51,7 @@ public class HasStatementMatcher<T extends 
RepositoryConnection> extends Abstrac
 
     @Override
     public void describeTo(Description description) {
-        description.appendText(" to contain Statement(")
+        description.appendText("\n to contain Statement(")
                 .appendValue(subject).appendText(" ")
                 .appendValue(predicate).appendText(" ")
                 .appendValue(object).appendText(")");

Reply via email to