瀏覽代碼

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) => {