aboutsummaryrefslogtreecommitdiff
path: root/test/content/usecases/HintKeyProducer.test.ts
diff options
context:
space:
mode:
Diffstat (limited to 'test/content/usecases/HintKeyProducer.test.ts')
-rw-r--r--test/content/usecases/HintKeyProducer.test.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/content/usecases/HintKeyProducer.test.ts b/test/content/usecases/HintKeyProducer.test.ts
index feafffb..5841ae9 100644
--- a/test/content/usecases/HintKeyProducer.test.ts
+++ b/test/content/usecases/HintKeyProducer.test.ts
@@ -10,13 +10,13 @@ describe('HintKeyProducer class', () => {
describe('#produce', () => {
it('produce incremented keys', () => {
- let charset = 'abc';
- let sequences = [
+ const charset = 'abc';
+ const sequences = [
'a', 'b', 'c',
'aa', 'ab', 'ac', 'ba', 'bb', 'bc', 'ca', 'cb', 'cc',
'aaa', 'aab', 'aac', 'aba']
- let producer = new HintKeyProducer(charset);
+ const producer = new HintKeyProducer(charset);
for (let i = 0; i < sequences.length; ++i) {
expect(producer.produce()).to.equal(sequences[i]);
}