-
Notifications
You must be signed in to change notification settings - Fork 189
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
One test fails with ruby 1.9.3 #3
Comments
On 12/12/2011 06:43 AM, Bohuslav Kabrda wrote:
Is this one of the tests where hash order matters? That seems to change Also, what distribution is this on?
Sean Dague Learn about the Universe with the |
I'm rebuilding gems with Ruby 1.9.3 for Fedora Rawhide - the new version should land there soon. I don't think that order matters: Bohuslav |
The test passes if you either reverse the hash:
or add escaped double quotes to
The problem is here: https://github.com/sdague/icalendar/blob/master/lib/icalendar/parser.rb#L199. It does not correctly parse lines like this:
The problem is the I played around with it, but haven't come up with a good solution yet. |
I've got what I think is a workable solution in tree, it seems to support the existing tests. Will be released in 1.2.1 |
Hi,
one of ical's test fails for me, here is the test output:
test_property_parameters(TestComponent) [/home/bkabrda/rpmbuild/BUILDROOT/rubygem-icalendar-1.1.6-2.fc16.x86_64/usr/share/gems/gems/icalendar-1.1.6/test/test_parameter.rb:31]:
<{"ALTREP"=>[""http://my.language.net""], "LANGUAGE"=>["SPANISH"]}> expected but was
<{"ALTREP"=>[]}>.
ruby -v: ruby 1.9.3p0 (2011-10-30 revision 33570) [x86_64-linux]
Any ideas?
Thanks,
Bohuslav.
The text was updated successfully, but these errors were encountered: