Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Two failing tests in 2012.12.08 #67

Open
rekado opened this issue Feb 8, 2013 · 2 comments
Open

Two failing tests in 2012.12.08 #67

rekado opened this issue Feb 8, 2013 · 2 comments

Comments

@rekado
Copy link

rekado commented Feb 8, 2013

There are two failing tests in Ramaze 2012.12.08:

  1. spec/ramaze/log/syslog.rb
Syslog should escape % sequences [FAILED]

Bacon::Error: "ramaze_syslog_test[1802]: Hello Cruel |\xC3\xA9vil| \xE6\x88\x88 REAL %s World\n".==("ramaze_syslog_test[1802]: Hello Cruel |\u00E9vil| \u6208 REAL %s World\n") failed
  1. spec/ramaze/dispatcher/directory.rb
Directory listing should dry serve root directory [FAILED]

Bacon::Error: [["../", "Parent Directory"], ["favicon.ico", "favicon.ico"], ["file+name.txt", "file name.txt"], ["test/", "test/"], ["test_download.css", "test_download.css"]].==([["../", "Parent Directory"], ["/favicon.ico", "favicon.ico"], ["/file+name.txt", "file name.txt"], ["/test/", "test/"], ["/test_download.css", "test_download.css"]]) failed
@leucos
Copy link

leucos commented Apr 6, 2013

  1. sounds like a locale problem. I have this with LC_ALL=en_US, but not with LC_ALL=en_US.utf8
  2. I can not reproduce. Does it still fail ?

For one may be we should skip the test if the locale is not utf8 ? Or provide other possible outputs (like above) depending on the locale setting ?

@leucos
Copy link

leucos commented Oct 14, 2013

I don't thinks this is an issue really. @manveru , we can check Locale.current.to_s =~ /UTF-8/ to skip the test or just close the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants