The last two steps were down in this PR in order to base the implementation of
This PR gets the failing test in "test/mri/pathname/test_pathname.rb" to pass. The tests in "test/mri/ruby/test_file_exhaustive.rb" are also still passing after the changes to
* Add `Pathname#empty?` * Remove `empty?` implementation on `File` since `FileTest` will assign its implementation of `empty?` to `File` (see `RubyFileTest.FileTestFileMethods`) * Add `FileTest.empty?` The last two steps were down in this PR in order to base the implementation of `Pathname#empty?` on the MRI implementation. See #4293
…od`. Fix `else` style problem.