diff options
author | eregon <eregon@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-08-27 16:22:21 +0000 |
---|---|---|
committer | eregon <eregon@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-08-27 16:22:21 +0000 |
commit | 2dca35b9b125f0ce5cfc74f5871b26913364cc7f (patch) | |
tree | 461f9e2de7d0a47070f515cc1029a1279aade214 /spec/ruby/language/predefined | |
parent | 58689fa7474a8151630eae463b8053e7b24d158d (diff) | |
download | ruby-2dca35b9b125f0ce5cfc74f5871b26913364cc7f.tar.gz |
Update to ruby/spec@007e908
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64571 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'spec/ruby/language/predefined')
-rw-r--r-- | spec/ruby/language/predefined/data_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/ruby/language/predefined/data_spec.rb b/spec/ruby/language/predefined/data_spec.rb index 6a070c5d5e..7bbccdaca1 100644 --- a/spec/ruby/language/predefined/data_spec.rb +++ b/spec/ruby/language/predefined/data_spec.rb @@ -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" |