diff --git a/lib/std/tests/fs_test.ri b/lib/std/tests/fs_test.ri index 480062237..08a08ef03 100644 --- a/lib/std/tests/fs_test.ri +++ b/lib/std/tests/fs_test.ri @@ -106,7 +106,7 @@ test "std.fs.Path.extension()" { @assert(Path.extension("file.ext.") == ""); @assert(Path.extension("very-long-file.bruh") == ".bruh"); @assert(Path.extension("a.b.c") == ".c"); - @assert(Path.extension("a.b.c/") == ".c"); + @assert(Path.extension("a.b.c/") == ""); @assert(Path.extension("/") == ""); @assert(Path.extension("/.") == "");