examples/case_equality_check.rb in simplecheck-1.0rc1 vs examples/case_equality_check.rb in simplecheck-1.0
- old
+ new
@@ -10,8 +10,8 @@
# Range#=== -> Range#include?
check( 1, 1..10 )
# Proc#=== -> Proc#call
-check( 1, lambda{ |n| n.odd? })
+check( 1, ->(n){ n.odd? })
puts "All passed"