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 committed Oct 19, 2023
1 parent 6643a6b commit 386f11a
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 @@ -16,5 +16,11 @@ Deno.test(
assertEquals(getFileExtension('path/to/file.tar.gz'), 'gz');
}
});
await test.step({
name: 'tar.gz (gz)',
fn: () => {
assertEquals(getFileExtension('pa-th/t.o/file/wi.th/char$acte4rs.gz'), 'gz');
}
});
}
)

0 comments on commit 386f11a

Please sign in to comment.