Skip to content

Commit

Permalink
test(toUnicode): Supplementary test
Browse files Browse the repository at this point in the history
  • Loading branch information
simonwong committed Apr 22, 2022
1 parent f57e235 commit 44beeb4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/toUnicode.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,9 @@ describe('type:', () => {
test(' "ABC" => \\u0041\\u0042\\u0043 ', () => {
assert.strictEqual(toUnicode('ABC'), '\\u0041\\u0042\\u0043')
})

test(' "" => "" ', () => {
assert.strictEqual(toUnicode(''), '')
})
})
})

0 comments on commit 44beeb4

Please sign in to comment.