mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 02:35:49 +00:00
feature(entity) add "
This commit is contained in:
parent
44e2ec7f90
commit
c413d0ba6e
2 changed files with 9 additions and 0 deletions
|
|
@ -19,3 +19,11 @@ test('cloudcmd: entity: decode', (t) => {
|
|||
t.end();
|
||||
});
|
||||
|
||||
test('cloudcmd: entity: encode', (t) => {
|
||||
const result = entity.encode('"hello"');
|
||||
const expected = '"hello"';
|
||||
|
||||
t.equal(result, expected, 'should encode entity');
|
||||
t.end();
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue