std.fs.path.extension: different behavior for ending dot

extension("a.") now returns "." instead of "".

This matches both Python and Node.js standard library behavior as well
as my personal opinion on how this function should be defined.

Apologies for missing this in the code review.
a42c712934Andrew Kelley committed on 12/12/2020, 1:23:57 AMparent1bbf731
1 file changedLine totals unavailable