Open Losses opened 1 year ago
The variable len is defined here: https://github.com/techfort/LokiJS/blob/25b9a33d57509717d43b4da06d92064f2b7a6c95/spec/generic/sortingIndexing.spec.js#L307
len
But the value is not replaced here: https://github.com/techfort/LokiJS/blob/25b9a33d57509717d43b4da06d92064f2b7a6c95/spec/generic/sortingIndexing.spec.js#L316-L320
Here: https://github.com/techfort/LokiJS/blob/25b9a33d57509717d43b4da06d92064f2b7a6c95/spec/generic/sortingIndexing.spec.js#L323-L327
The code is testing the same result for three times, which is incorrect.
The variable
len
is defined here: https://github.com/techfort/LokiJS/blob/25b9a33d57509717d43b4da06d92064f2b7a6c95/spec/generic/sortingIndexing.spec.js#L307But the value is not replaced here: https://github.com/techfort/LokiJS/blob/25b9a33d57509717d43b4da06d92064f2b7a6c95/spec/generic/sortingIndexing.spec.js#L316-L320
Here: https://github.com/techfort/LokiJS/blob/25b9a33d57509717d43b4da06d92064f2b7a6c95/spec/generic/sortingIndexing.spec.js#L323-L327
The code is testing the same result for three times, which is incorrect.