mirror of
https://github.com/ruby/ruby.git
synced 2025-09-23 20:44:00 +02:00
suppress warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26441 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
1d3c2678e2
commit
bf4a6a0557
2 changed files with 26 additions and 10 deletions
|
@ -37,7 +37,7 @@ class TestSystem < Test::Unit::TestCase
|
|||
tmp = open(tmpfilename, "w")
|
||||
tmp.print "this is a leading junk\n";
|
||||
tmp.print "#! /usr/local/bin/ruby -s\n";
|
||||
tmp.print "print $zzz\n";
|
||||
tmp.print "print $zzz if defined? $zzz\n";
|
||||
tmp.print "__END__\n";
|
||||
tmp.print "this is a trailing junk\n";
|
||||
tmp.close
|
||||
|
@ -49,7 +49,7 @@ class TestSystem < Test::Unit::TestCase
|
|||
tmp.print "#! /non/exist\\interpreter?/./to|be:ignored\n";
|
||||
tmp.print "this is a leading junk\n";
|
||||
tmp.print "#! /usr/local/bin/ruby -s\n";
|
||||
tmp.print "print $zzz\n";
|
||||
tmp.print "print $zzz if defined? $zzz\n";
|
||||
tmp.print "__END__\n";
|
||||
tmp.print "this is a trailing junk\n";
|
||||
tmp.close
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue