# File lib/fakefs/pathname.rb, line 222
      def trailing_separator?(path)
        if (r = chop_basename(path))
          pre, basename = r
          pre.length + basename.length < path.length
        else
          false
        end
      end