diff options
Diffstat (limited to 'bootstraptest/pending.rb')
-rw-r--r-- | bootstraptest/pending.rb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/bootstraptest/pending.rb b/bootstraptest/pending.rb index b894fb6b04..744c0adac1 100644 --- a/bootstraptest/pending.rb +++ b/bootstraptest/pending.rb @@ -30,3 +30,10 @@ assert_equal 'ok', %q{ :ok end } + +assert_normal_exit %q{ + r = Range.allocate + def r.<=>(o) true end + r.instance_eval { initialize r, r } + r.inspect +} |