We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 84bc558 + fa21b36 commit 7cd0504Copy full SHA for 7cd0504
lib/std/tests/fs_test.ri
@@ -106,7 +106,7 @@ test "std.fs.Path.extension()" {
106
@assert(Path.extension("file.ext.") == "");
107
@assert(Path.extension("very-long-file.bruh") == ".bruh");
108
@assert(Path.extension("a.b.c") == ".c");
109
- @assert(Path.extension("a.b.c/") == ".c");
+ @assert(Path.extension("a.b.c/") == "");
110
111
@assert(Path.extension("/") == "");
112
@assert(Path.extension("/.") == "");
0 commit comments