You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: test/spec/lib/filter.spec.ts
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -201,7 +201,7 @@ describe('Filter', () => {
201
201
});
202
202
filter.init();
203
203
expect(filter.counter).to.equal(0);
204
-
expect(filter.replaceText('Words used to be okay, but now even a word is bad.',filter.wordlistId,false)).to.equal('___ used to be okay, but now even a ___ is bad.');
204
+
expect(filter.replaceText('Words used to be okay, but now even a word is bad.',filter.wordlistId,null)).to.equal('___ used to be okay, but now even a ___ is bad.');
205
205
expect(filter.counter).to.equal(0);
206
206
});
207
207
@@ -641,7 +641,7 @@ describe('Filter', () => {
641
641
});
642
642
filter.init();
643
643
expect(filter.counter).to.equal(0);
644
-
expect(filter.replaceText('This Sample is a pretty good sampler to sample.',filter.wordlistId,false)).to.equal('This [piece] is a pretty good [piece]r to [piece].');
644
+
expect(filter.replaceText('This Sample is a pretty good sampler to sample.',filter.wordlistId,null)).to.equal('This [piece] is a pretty good [piece]r to [piece].');
645
645
expect(filter.counter).to.equal(0);
646
646
});
647
647
@@ -858,7 +858,7 @@ describe('Filter', () => {
858
858
});
859
859
filter.init();
860
860
expect(filter.counter).to.equal(0);
861
-
expect(filter.replaceText('This Sample is a pretty good sampler to sample.',filter.wordlistId,false)).to.equal('This is a pretty good to.');
861
+
expect(filter.replaceText('This Sample is a pretty good sampler to sample.',filter.wordlistId,null)).to.equal('This is a pretty good to.');
0 commit comments