remove nonsense comments

This commit is contained in:
Jörg Breitbart
2018-12-15 00:03:54 +01:00
parent 62be3047d8
commit 3927364f0e
-3
View File
@@ -116,11 +116,8 @@ describe('search addon', () => {
expect(tilda2).eql({col: 0, row: 3, term: '~'});
});
it('should not select empty lines', () => {
// with addition of a real null char printing spaces is not considered empty anymore
search.apply(<any>MockTerminal);
const term = new MockTerminal({cols: 20, rows: 3});
// with addition of a null char printing spaces is not considered empty anymore
// therefore we write nothing here
const line = term.searchHelper.findInLine('^.*$', 0, { regex: true });
expect(line).eql(undefined);
});