lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nightowl...@apache.org
Subject [52/58] [abbrv] lucenenet git commit: Added missing fail() in Grouping.TestGrouping test
Date Thu, 10 Nov 2016 11:34:03 GMT
Added missing fail() in Grouping.TestGrouping test


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

Branch: refs/heads/grouping
Commit: 5c9a388e098bdcc25fda89395ab8449f1480d32a
Parents: dd24cf3
Author: Shad Storhaug <shad@shadstorhaug.com>
Authored: Sun Nov 6 23:22:38 2016 +0700
Committer: Shad Storhaug <shad@shadstorhaug.com>
Committed: Tue Nov 8 02:48:20 2016 +0700

----------------------------------------------------------------------
 src/Lucene.Net.Tests.Grouping/TestGrouping.cs | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucenenet/blob/5c9a388e/src/Lucene.Net.Tests.Grouping/TestGrouping.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Tests.Grouping/TestGrouping.cs b/src/Lucene.Net.Tests.Grouping/TestGrouping.cs
index ddef166..dc4743e 100644
--- a/src/Lucene.Net.Tests.Grouping/TestGrouping.cs
+++ b/src/Lucene.Net.Tests.Grouping/TestGrouping.cs
@@ -465,13 +465,9 @@ namespace Lucene.Net.Search.Grouping
                     {
                         return sf.Reverse ? -cmp : cmp;
                     }
-                    else
-                    {
-                        // should never get here
-                    }
                 }
                 // Our sort always fully tie breaks:
-                //fail();
+                fail();
                 return 0;
             }
         }


Mime
View raw message