examples/case_equality_check.rb in simplecheck-1.0 vs examples/case_equality_check.rb in simplecheck-2.0

- old
+ new

@@ -1,17 +1,17 @@ require 'simplecheck' include Simplecheck # Class#=== -> Class#kind_of? -check( 1, Integer ) +check(1, Integer) # Regexp#=== -> Regexp#match -check( 'aaabbb', /^aaa/ ) +check('aaabbb', /^aaa/) # Range#=== -> Range#include? -check( 1, 1..10 ) +check(1, 1..10) # Proc#=== -> Proc#call -check( 1, ->(n){ n.odd? }) +check(1, ->(n) { n.odd? }) -puts "All passed" +puts 'All passed'