thumblemonks / riot

Riot is a fast, expressive, and contextual ruby unit testing framework
http://thumblemonks.github.com/riot/
MIT License
314 stars 26 forks source link

Using #inspect rather than #to_s for assertions made with arguments #37

Closed Mon-Ouie closed 13 years ago

Mon-Ouie commented 13 years ago

When an assertion is made with arguments, we get a somewhat ugly output in 1.8 because of what Array#to_s looks like (it just joins the element without printing anything between them). #inspect makes the output readable.

gus commented 13 years ago

Guess people should move to 1.9 ASAP ;)