Skip to content

Commit c05e750

Browse files
committed
test: verify block type underscore normalization
1 parent 2046766 commit c05e750

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

plugins/toolbox-search/test/tests.mocha.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,10 +101,10 @@ suite('BlockSearcher', () => {
101101
searcher.indexBlocks([blockInfo]);
102102

103103
assert.sameMembers(
104-
searcher.blockTypesMatching('custom block with underscore'),
104+
searcher.blockTypesMatching('searcher underscore block'),
105105
[blockInfo],
106106
);
107-
assert.isEmpty(searcher.blockTypesMatching('custom_block_with_underscore'));
107+
assert.isEmpty(searcher.blockTypesMatching('searcher_underscore_block'));
108108
});
109109

110110
test('longer queries disambiguate similar blocks', () => {

0 commit comments

Comments
 (0)