mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Update to ruby/spec@7de852d
This commit is contained in:
parent
994833085a
commit
79671ec57e
135 changed files with 4415 additions and 4885 deletions
|
@ -15,9 +15,7 @@ describe :inspect, shared: true do
|
|||
Time.new(2000, 1, 1, 20, 15, 01, 3600).send(@method).should == "2000-01-01 20:15:01 +0100"
|
||||
end
|
||||
|
||||
with_feature :encoding do
|
||||
it "returns a US-ASCII encoded string" do
|
||||
Time.now.send(@method).encoding.should equal(Encoding::US_ASCII)
|
||||
end
|
||||
it "returns a US-ASCII encoded string" do
|
||||
Time.now.send(@method).encoding.should equal(Encoding::US_ASCII)
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue