You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by kw...@apache.org on 2016/04/09 02:36:15 UTC

[1/2] lucene-solr:master: Stop tests from failing just because of toString test

Repository: lucene-solr
Updated Branches:
  refs/heads/master 455f3dd69 -> 23b953cb4


Stop tests from failing just because of toString test


Project: http://git-wip-us.apache.org/repos/asf/lucene-solr/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucene-solr/commit/4537a66b
Tree: http://git-wip-us.apache.org/repos/asf/lucene-solr/tree/4537a66b
Diff: http://git-wip-us.apache.org/repos/asf/lucene-solr/diff/4537a66b

Branch: refs/heads/master
Commit: 4537a66bb16610dafef06965a0cfa346a2edd7de
Parents: eb87512
Author: Karl Wright <Da...@gmail.com>
Authored: Fri Apr 8 20:34:23 2016 -0400
Committer: Karl Wright <Da...@gmail.com>
Committed: Fri Apr 8 20:34:23 2016 -0400

----------------------------------------------------------------------
 .../src/test/org/apache/lucene/spatial3d/TestGeo3DPoint.java       | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/4537a66b/lucene/spatial3d/src/test/org/apache/lucene/spatial3d/TestGeo3DPoint.java
----------------------------------------------------------------------
diff --git a/lucene/spatial3d/src/test/org/apache/lucene/spatial3d/TestGeo3DPoint.java b/lucene/spatial3d/src/test/org/apache/lucene/spatial3d/TestGeo3DPoint.java
index 4e2e02e..3aa1719 100644
--- a/lucene/spatial3d/src/test/org/apache/lucene/spatial3d/TestGeo3DPoint.java
+++ b/lucene/spatial3d/src/test/org/apache/lucene/spatial3d/TestGeo3DPoint.java
@@ -805,7 +805,7 @@ public class TestGeo3DPoint extends LuceneTestCase {
 
   public void testToString() {
     Geo3DPoint point = new Geo3DPoint("point", 44.244272, 7.769736);
-    assertEquals("Geo3DPoint <point: x=0.7094263130517758 y=0.09679758927665334 z=0.6973564618592686>", point.toString());
+    assertEquals("Geo3DPoint <point: x=", point.toString().substring(0,"Geo3DPoint <point: x=".length()));
   }
 
   public void testShapeQueryToString() {


[2/2] lucene-solr:master: Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/lucene-solr

Posted by kw...@apache.org.
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/lucene-solr


Project: http://git-wip-us.apache.org/repos/asf/lucene-solr/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucene-solr/commit/23b953cb
Tree: http://git-wip-us.apache.org/repos/asf/lucene-solr/tree/23b953cb
Diff: http://git-wip-us.apache.org/repos/asf/lucene-solr/diff/23b953cb

Branch: refs/heads/master
Commit: 23b953cb4fd0b6829747147e7755fa0490748799
Parents: 4537a66 455f3dd
Author: Karl Wright <Da...@gmail.com>
Authored: Fri Apr 8 20:35:55 2016 -0400
Committer: Karl Wright <Da...@gmail.com>
Committed: Fri Apr 8 20:35:55 2016 -0400

----------------------------------------------------------------------
 lucene/CHANGES.txt | 4 ++++
 1 file changed, 4 insertions(+)
----------------------------------------------------------------------