~ubuntu-branches/ubuntu/trusty/ruby1.9/trusty

« back to all changes in this revision

Viewing changes to bootstraptest/test_proc.rb

  • Committer: Bazaar Package Importer
  • Author(s): Stephan Hermann
  • Date: 2008-05-16 12:37:06 UTC
  • mfrom: (1.1.10 upstream)
  • Revision ID: james.westby@ubuntu.com-20080516123706-r4llcdfd35aobrjv
Tags: 1.9.0.1-1ubuntu1
* Merge from debian unstable, remaining changes:
  - Robustify check for target_os, fixing build failure on lpia.
* debian/control:
  - ruby1.9 pkg: moved rdoc1.9 suggestion to depends. (LP: #228345)

Show diffs side-by-side

added added

removed removed

Lines of Context:
253
253
    a + 2
254
254
  }.call
255
255
}
 
256
assert_equal %Q{ok\n}, %q{
 
257
  class A; def get_block; proc {puts "ok"} end end
 
258
  block = A.new.get_block
 
259
  GC.start
 
260
  block.call
 
261
}, '[ruby-core:14885]'