aboutsummaryrefslogtreecommitdiff
path: root/test/js/node/path/path.test.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/js/node/path/path.test.js')
-rw-r--r--test/js/node/path/path.test.js11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/js/node/path/path.test.js b/test/js/node/path/path.test.js
index 5865d6182..f18e5c72d 100644
--- a/test/js/node/path/path.test.js
+++ b/test/js/node/path/path.test.js
@@ -812,6 +812,17 @@ describe("path.parse and path.format", () => {
name: "another_dir",
},
},
+ {
+ // https://github.com/oven-sh/bun/issues/4954
+ input: "/test/Ł.txt",
+ expected: {
+ root: "/",
+ dir: "/test",
+ base: "Ł.txt",
+ ext: ".txt",
+ name: "Ł",
+ },
+ }
];
testCases.forEach(({ input, expected }) => {
it(`case ${input}`, () => {