mjackson / citrus

Parsing Expressions for Ruby
http://mjackson.github.io/citrus
405 stars 28 forks source link

Jruby 1.6.2 issue(s) #25

Closed ghost closed 13 years ago

ghost commented 13 years ago

The test suite does not work on the current jruby 1.6.2 on OS X 10.7.0

The failure is:

Loaded suite file_test Started ................FF.F................................................................................................................ Finished in 1.938000 seconds.

1) Failure: test_character_class(CitrusFileTest) [filetest.rb:498]: </[]/> (US-ASCII) expected but was </[_]/> (US-ASCII).

2) Failure: test_character_class_a_z(CitrusFileTest) [file_test.rb:504]: </[a-z]/> (US-ASCII) expected but was </[a-z]/> (US-ASCII).

3) Failure: test_character_class_nested_square_brackets(CitrusFileTest) [file_test.rb:510]: </[[-]]/> (US-ASCII) expected but was </[[-]]/> (US-ASCII).

132 tests, 282 assertions, 3 failures, 0 errors, 0 skips

mjackson commented 13 years ago

Looks like a JRuby issue to me, though I'm not sure. If expected conditions match actual conditions, I'm not sure what else the problem could be.

ghost commented 13 years ago

Yeah, that was confusing to me too. Citrus also made jruby crash with a 200-line traceback, so I'm hoping to get that solved sometime as well, but not your problem.