sconover / wrong

Wrong provides a general assert method that takes a predicate block. Assertion failure messages are rich in detail.
MIT License
433 stars 30 forks source link

JRuby support #2

Closed jfirebaugh closed 14 years ago

jfirebaugh commented 14 years ago

Good news -- it turned out to be much easier than expected. Wrong doesn't really need to have a dependency on ParseTree at all -- just ruby_parser, which works fine on JRuby. The ParseTree dependency came from a part of predicated that wrong doesn't actually use. A bit of refactoring and all tests passed!

alexch commented 14 years ago

woot

jfirebaugh commented 14 years ago

Here's the predicated change in its own main repo:

http://github.com/jfirebaugh/predicated/commit/d7c03210151b5aff211d99222df8e0a86f92ae09

jfirebaugh commented 14 years ago

Sorry, screwed that up. Here's the right commit:

http://github.com/jfirebaugh/predicated/commit/7e137f47a67fcb85d8a82537089046e813260602