~jpakkane/libcolumbus/hud-rework

« back to all changes in this revision

Viewing changes to test/MatcherTest.cc

  • Committer: Jussi Pakkanen
  • Date: 2014-02-28 13:30:56 UTC
  • Revision ID: jussi.pakkanen@canonical.com-20140228133056-tuvjo88m0ukf983l
Test fix.

Show diffs side-by-side

added added

removed removed

Lines of Context:
177
177
 
178
178
    m.index(c);
179
179
    matches = m.onlineMatch(q, fieldName);
180
 
    assert(matches.size() == 2);
 
180
    assert(matches.size() >= 1);
181
181
    assert(matches.getDocumentID(0) == correct);
182
182
}
183
183