RubyGems Navigation menu

wrong 0.5.2

Wrong provides a general assert method that takes a predicate block. Assertion failure messages are rich in detail. The Wrong idea is to replace all those countless assert_this, assert_that library methods which only exist to give a more useful failure message than "assertion failed". Wrong replaces all of them in one fell swoop, since if you can write it in Ruby, Wrong can make a sensible failure message out of it. Also provided are several helper methods, like rescuing, capturing, and d.

Gemfile:
= 複製 已複製

安裝:
=

版本列表:

  1. 0.7.1 - November 11, 2013 java (42.5 KB)
  2. 0.7.1 - November 11, 2013 (42.5 KB)
  3. 0.7.0 - November 23, 2012 java (42.5 KB)
  4. 0.7.0 - November 23, 2012 (42.5 KB)
  5. 0.6.3 - November 14, 2012 java (37.5 KB)
  6. 0.5.2 - July 07, 2011 (39.0 KB)
顯示所有版本(共 42)

Runtime 相依性套件 (8):

diff-lcs ~> 1.1.2
file-tail ~> 1.0
ParseTree ~> 3.0
predicated >= 0.2.3
ruby2ruby ~> 1.2
ruby_parser ~> 2.0.4
sourcify >= 0.3.0

擁有者:

作者:

  • Steve Conover, Alex Chaffee

SHA 256 checksum:

c7fab8e76f0a7f6c7b437329da799b97f308a6cac550ec0756640bcb9bfd259d

總下載次數 495,759

這個版本 3,064

License:

Ruby 版本需求:

相關連結: