Parcourir la source

Use unique words for spelling unit test (#17195)

GitOrigin-RevId: 21dc22192ee462d222982a92612aa8a0b858aba1
Alf Eaton il y a 2 ans
Parent
commit
3cef60c8d7
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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) => {