Test:
v = x rescue 1
puts v
Expected: 1
Actual: NameError ("undefined local variable or method `x' for Object")
Adapted from rspec/language/raise_spec "on a single line, a default can be
assigned on exception".
Original issue reported on code.google.com by sason...@gmail.com on 8 Nov 2007 at 5:54
Original issue reported on code.google.com by
sason...@gmail.com
on 8 Nov 2007 at 5:54