Преглед на файлове

Use unique words for spelling unit test (#17195)

GitOrigin-RevId: 21dc22192ee462d222982a92612aa8a0b858aba1
Alf Eaton преди 2 години
родител
ревизия
3cef60c8d7
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      services/spelling/test/unit/js/ASpellTests.js

+ 1 - 1
services/spelling/test/unit/js/ASpellTests.js

@@ -108,7 +108,7 @@ describe('ASpell', function () {
 
   return describe('when the request times out', function () {
     beforeEach(function (done) {
-      const words = __range__(0, 1000, true).map(i => 'abcdefg')
+      const words = __range__(0, 1000, true).map(i => 'abcdefg' + i)
       this.ASpell.setTimeout(1)
       this.start = Date.now()
       return this.ASpell.checkWords('en', words, (error, result) => {