Skip to content

Commit

Permalink
Delete case of ASCII_NO_TRAILING_BLANKS, which is for dataset only
Browse files Browse the repository at this point in the history
Signed-off-by: Qi Liang <[email protected]>
  • Loading branch information
std4lqi committed Jan 9, 2024
1 parent 40a46b4 commit a6f2eb1
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/__test__/downloadFile.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,13 +56,6 @@ describe('The method of downloadFile()', () => {
expect(buffer.toString()).toBe(text);
});

it('can get USS file in ASCII_NO_TRAILING_BLANKS mode', async () => {
const text = 'Hello';

const buffer = await accessor.downloadFile(getUSSPath('nodeacc/hello_with_trailingblanks.txt'), TransferMode.ASCII_NO_TRAILING_BLANKS);
expect(buffer.toString()).toBe(text);
});

// Can get USS file in ASCII mode as STREAM
it('can get USS file in ASCII mode as STREAM', async () => {
const text = 'Hello\r\n';
Expand Down

0 comments on commit a6f2eb1

Please sign in to comment.