Skip to content

Commit

Permalink
Fix lint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
josdejong committed Dec 28, 2019
1 parent 275fcc8 commit 10a48ca
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/util.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -490,7 +490,8 @@ describe('util', () => {
assert.strictEqual(formatSize(7.22 * 1000 * 1000), '7.2 MB')
assert.strictEqual(formatSize(945.4 * 1000 * 1000), '0.9 GB')
assert.strictEqual(formatSize(22.37 * 1000 * 1000 * 1000), '22.4 GB')
assert.strictEqual(formatSize(1000 * 1000 * 1000 * 1000), '1.0 TB') })
assert.strictEqual(formatSize(1000 * 1000 * 1000 * 1000), '1.0 TB')
})

it('should limit characters', () => {
assert.strictEqual(limitCharacters('hello world', 11), 'hello world')
Expand Down

0 comments on commit 10a48ca

Please sign in to comment.