lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lai...@apache.org
Subject lucenenet git commit: use ToString("R") to see the whole number
Date Sat, 30 May 2015 20:01:55 GMT
Repository: lucenenet
Updated Branches:
  refs/heads/failingtests 0ddd91a14 -> 51bacf03c


use ToString("R") to see the whole number


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

Branch: refs/heads/failingtests
Commit: 51bacf03c2a738d11a540d865a4e998b7ef8f0c5
Parents: 0ddd91a
Author: Laimonas Simutis <laimis@gmail.com>
Authored: Sat May 30 16:01:37 2015 -0400
Committer: Laimonas Simutis <laimis@gmail.com>
Committed: Sat May 30 16:01:37 2015 -0400

----------------------------------------------------------------------
 src/Lucene.Net.TestFramework/Search/QueryUtils.cs | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucenenet/blob/51bacf03/src/Lucene.Net.TestFramework/Search/QueryUtils.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.TestFramework/Search/QueryUtils.cs b/src/Lucene.Net.TestFramework/Search/QueryUtils.cs
index 8afb3aa..669cc9a 100644
--- a/src/Lucene.Net.TestFramework/Search/QueryUtils.cs
+++ b/src/Lucene.Net.TestFramework/Search/QueryUtils.cs
@@ -486,8 +486,8 @@ namespace Lucene.Net.Search
                         catch (AssertionException ex)
                         {
                             Console.WriteLine("Failed, these two were deemed not equal:");
-                            Console.WriteLine(skipToScore);
-                            Console.WriteLine(scorer_.Score());
+                            Console.WriteLine(skipToScore.ToString("R"));
+                            Console.WriteLine(scorer_.Score().ToString("R"));
                             throw;
                         }
 


Mime
View raw message