mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Update to ruby/spec@007e908
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64571 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
58689fa747
commit
2dca35b9b1
4 changed files with 24 additions and 21 deletions
|
@ -33,7 +33,7 @@ describe "The DATA constant" do
|
|||
|
||||
it "is set even if there is no newline after __END__" do
|
||||
path = tmp("no_newline_data.rb")
|
||||
code = File.read(fixture(__FILE__, "empty_data.rb"))
|
||||
code = File.binread(fixture(__FILE__, "empty_data.rb"))
|
||||
touch(path) { |f| f.write code.chomp }
|
||||
begin
|
||||
ruby_exe(path).should == "30\n\"\"\n"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue