Skip to content

Commit 36b7e54

Browse files
fix PR comment
Signed-off-by: nkomonen-amazon <[email protected]>
1 parent b6ee640 commit 36b7e54

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

packages/core/src/test/shared/crypto.test.ts

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -47,15 +47,13 @@ describe('crypto', function () {
4747

4848
describe('truncateUUID', function () {
4949
it('should return the first 4 and last 4 characters of a valid UUID', function () {
50-
const fullUUID = 'aaaabbbb-cccc-dddd-eeee-ffffhhhhiiii'
51-
const result = truncateUuid(fullUUID)
52-
assert.strictEqual(result, 'aaaa...iiii')
53-
})
50+
const fullUUID1 = 'aaaabbbb-cccc-dddd-eeee-ffffhhhhiiii'
51+
const result1 = truncateUuid(fullUUID1)
52+
assert.strictEqual(result1, 'aaaa...iiii')
5453

55-
it('should handle a different valid UUID correctly', function () {
56-
const fullUUID = '12340000-0000-0000-0000-000000005678'
57-
const result = truncateUuid(fullUUID)
58-
assert.strictEqual(result, '1234...5678')
54+
const fullUUID2 = '12340000-0000-0000-0000-000000005678'
55+
const result2 = truncateUuid(fullUUID2)
56+
assert.strictEqual(result2, '1234...5678')
5957
})
6058

6159
it('should throw an error if the input is not 36 characters long', function () {

0 commit comments

Comments
 (0)