Skip to content

Instantly share code, notes, and snippets.

@djour
Created April 20, 2012 02:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save djour/2425359 to your computer and use it in GitHub Desktop.
Save djour/2425359 to your computer and use it in GitHub Desktop.
FIXME point in feature test for TradWeight
diff --git a/xapian-core/tests/api_anydb.cc b/xapian-core/tests/api_anydb.cc
index 636b30c..eec31f6 100644
--- a/xapian-core/tests/api_anydb.cc
+++ b/xapian-core/tests/api_anydb.cc
@@ -2287,6 +2287,7 @@ DEFINE_TESTCASE(tradweight1, backend) {
enquire.set_query(Xapian::Query("word") );
mset = enquire.get_mset(0, 25);
+ mset_expect_order(mset,2,4);
// FIXME: should check that TradWeight(0) means wdf and doc length really
// don't affect the weights as stated in the documentation.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment