mirror of
https://github.com/ruby/ruby.git
synced 2026-11-08 01:20:26 +08:00
File.expand_path walks past the root through its own call site, and Pathname#sub_ext skips the length check File.extname does first, so both reach the backward scan by routes the extname test does not exercise.