jena-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rve...@apache.org
Subject jena git commit: Fix incorrect test case masked by ExprList.equals() bug
Date Mon, 31 Oct 2016 11:12:34 GMT
Repository: jena
Updated Branches:
  refs/heads/master 6fa1a1747 -> 95320db5e


Fix incorrect test case masked by ExprList.equals() bug

Corrects the expected output of the test case so the test passes as it
should


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

Branch: refs/heads/master
Commit: 95320db5e42cfda8b0c2fd1e1f0346f60ea36633
Parents: 6fa1a17
Author: Rob Vesse <rvesse@apache.org>
Authored: Mon Oct 31 11:11:59 2016 +0000
Committer: Rob Vesse <rvesse@apache.org>
Committed: Mon Oct 31 11:11:59 2016 +0000

----------------------------------------------------------------------
 .../apache/jena/sparql/algebra/optimize/TestTransformFilters.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/jena/blob/95320db5/jena-arq/src/test/java/org/apache/jena/sparql/algebra/optimize/TestTransformFilters.java
----------------------------------------------------------------------
diff --git a/jena-arq/src/test/java/org/apache/jena/sparql/algebra/optimize/TestTransformFilters.java
b/jena-arq/src/test/java/org/apache/jena/sparql/algebra/optimize/TestTransformFilters.java
index e19289c..a970f8e 100644
--- a/jena-arq/src/test/java/org/apache/jena/sparql/algebra/optimize/TestTransformFilters.java
+++ b/jena-arq/src/test/java/org/apache/jena/sparql/algebra/optimize/TestTransformFilters.java
@@ -379,7 +379,7 @@ public class TestTransformFilters extends AbstractTestTransform
         // Check reset.
         testOp("(filter true (distinct (filter (notin ?x 1 2 3) (bgp (?s ?p ?x)) )))",
                t_expandOneOf,
-               "(filter true (distinct (filter (exprlist (!= ?x 1) (!= ?x 2)) (bgp (triple
?s ?p ?x)) )))") ;
+               "(filter true (distinct (filter (exprlist (!= ?x 1) (!= ?x 2) (!= ?x 3)) (bgp
(triple ?s ?p ?x)) )))") ;
     }
 
 


Mime
View raw message