Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

align file name with content encoding #175

Merged
merged 1 commit into from

2 participants

ryenus Charles Oliver Nutter
ryenus

This is a follow up for pull request 159.

dir-j.rb and dir-js.rb each incorrectly took the other's name, now swapped.

Charles Oliver Nutter headius merged commit 4a6bb0a into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on May 19, 2012
  1. ryenus
This page is out of date. Refresh to see the latest.
Showing with 6 additions and 6 deletions.
  1. +3 −3 test/JRUBY_6606/dir-j.rb
  2. +3 −3 test/JRUBY_6606/dir-js.rb
6 test/JRUBY_6606/dir-j.rb
View
@@ -1,6 +1,6 @@
-# encoding: Shift_JIS
+# encoding: EUC-JP
Dir.chdir(File.dirname __FILE__) do
- Dir.entries('res/‚ ‚¢').each{|n| p n unless n == '.' || n == '..'}
- Dir.foreach('res/‚ ‚¢') {|n| p n unless n == '.' || n == '..'}
+ Dir.entries('res/¤¢¤¤').each{|n| p n unless n == '.' || n == '..'}
+ Dir.foreach('res/¤¢¤¤') {|n| p n unless n == '.' || n == '..'}
end
6 test/JRUBY_6606/dir-js.rb
View
@@ -1,6 +1,6 @@
-# encoding: EUC-JP
+# encoding: Shift_JIS
Dir.chdir(File.dirname __FILE__) do
- Dir.entries('res/¤¢¤¤').each{|n| p n unless n == '.' || n == '..'}
- Dir.foreach('res/¤¢¤¤') {|n| p n unless n == '.' || n == '..'}
+ Dir.entries('res/‚ ‚¢').each{|n| p n unless n == '.' || n == '..'}
+ Dir.foreach('res/‚ ‚¢') {|n| p n unless n == '.' || n == '..'}
end
Something went wrong with that request. Please try again.