mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* test/ruby/envutil.rb: added. split "rubybin" from test_system.rb.
* test/ruby/test_system.rb: use envutil.rb * test/ruby/test_beginendblock.rb: added. * test/ruby/beginmainend.rb: added. used in test_beginendblock.rb. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4691 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
1e85ca8a02
commit
d77b17aa73
5 changed files with 43 additions and 5 deletions
9
test/ruby/beginmainend.rb
Normal file
9
test/ruby/beginmainend.rb
Normal file
|
@ -0,0 +1,9 @@
|
|||
BEGIN {
|
||||
puts "begin"
|
||||
}
|
||||
|
||||
puts "main"
|
||||
|
||||
END {
|
||||
puts "end"
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue