Skip to content

Commit 89366f8

Browse files
author
Aries Yuwono
committed
fixed assertion on snippet change
1 parent 506940d commit 89366f8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test-complete/nodejs-documents-query.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -317,11 +317,11 @@ describe('Document query test', function(){
317317
)
318318
).slice(1, 100, q.snippet())
319319
).result(function(response) {
320-
//console.log(JSON.stringify(response, null, 4));
320+
//console.log(JSON.stringify(response, null, 2));
321321
response[0].results[0].matches[0]['match-text'][1].highlight.should.equal('Bush');
322322
response[0].results[0].matches[1]['match-text'][1].highlight.should.equal('Bush');
323323
response[0].results[0].matches[1]['match-text'][3].highlight.should.equal('Atlantic');
324-
response[0].results[0].matches[1]['match-text'][4].highlight.should.equal('Monthly');
324+
response[0].results[0].matches[1]['match-text'][5].highlight.should.equal('Monthly');
325325
response[1].content.id.should.equal('0011');
326326
done();
327327
}, done);

0 commit comments

Comments
 (0)