- ranking_query( __LINE__, zh, "@attr 1=1016 @attr 2=102 the",
- 3, tests[i].hit1, tests[i].score1);
- ranking_query( __LINE__, zh, "@attr 1=1016 @attr 2=102 @or foo bar",
- 3, tests[i].hit2, tests[i].score2);
- ranking_query( __LINE__, zh,
- "@attr 1=1016 @attr 2=102 @or @or the foo bar",
- 3, tests[i].hit3, tests[i].score3);
-
+ YAZ_CHECK(tl_ranking_query(zh, "@attr 1=1016 @attr 2=102 the",
+ 3, tests[i].hit1, tests[i].score1));
+ YAZ_CHECK(tl_ranking_query(zh, "@attr 1=1016 @attr 2=102 @or foo bar",
+ 3, tests[i].hit2, tests[i].score2));
+ YAZ_CHECK(tl_ranking_query(zh,
+ "@attr 1=1016 @attr 2=102 @or @or the foo bar",
+ 3, tests[i].hit3, tests[i].score3));