redding / assert

Assertion style testing framework.
https://github.com/redding/assert
MIT License
10 stars 1 forks source link

Test failures when running assert on itself, fixed in PR #239 #240

Closed riddochc closed 9 years ago

riddochc commented 9 years ago

Hi, I was just trying out Assert, and found that for a number of versions, it fails its own tests. Apparently Array#choice hasn't been around for quite a while!

Here's one of the test failures I see:

ERROR: Assert::View Base should know how to build ansi styled messages undefined method choice' for [:pass, :fail, :error, :skip, :ignore]:Array (NoMethodError) /home/riddochc/src/ruby/assert/test/unit/view_tests.rb:70:inblock in class:BaseTests' /home/riddochc/.gem/gems/assert-2.15.0/lib/assert/test.rb:136:in `instance_eval'

kellyredding commented 9 years ago

Closing this as it is being addressed in #239. Thanks!