Skip to content

Commit

Permalink
Update get_file_extension.test.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
Mqxx authored Oct 18, 2023
1 parent 2d5e8e1 commit 98188dd
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/files/get_file_extension.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,11 @@ Deno.test(
assertEquals(getFileExtension('path/to/file.txt'), 'txt');
}
});
await test.step({
name: 'tar.gz (gz)',
fn: () => {
assertEquals(getFileExtension('path/to/file.tar.gz'), 'gz');
}
});
}
)

0 comments on commit 98188dd

Please sign in to comment.