Skip to content

Commit b79d2e2

Browse files
author
Tim Roes
committed
Fix test comment
1 parent 0e5ef28 commit b79d2e2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/plugins/data/server/index_patterns/fetcher/lib/field_capabilities/field_caps_response.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ describe('index_patterns/field_capabilities/field_caps_response', () => {
6868
sandbox.spy(shouldReadFieldFromDocValuesNS, 'shouldReadFieldFromDocValues');
6969
const fields = readFieldCapsResponse(esResponse);
7070
const conflictCount = fields.filter(f => f.type === 'conflict').length;
71-
// +2 is for the object field which is filtered out of the final return value from readFieldCapsResponse
71+
// +1 is for the object field which is filtered out of the final return value from readFieldCapsResponse
7272
sinon.assert.callCount(shouldReadFieldFromDocValues, fields.length - conflictCount + 1);
7373
});
7474

0 commit comments

Comments
 (0)