diff options
author | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2019-10-24 18:50:57 +0900 |
---|---|---|
committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2019-10-24 18:50:57 +0900 |
commit | 70ca56dedaa7ced969269ed70112ebb8da653ec2 (patch) | |
tree | 15dbc8b7dd087099d55d8d24ba70fc64607f268a /spec/ruby/library/date/parse_spec.rb | |
parent | 487d96c6b1cd7f5d415dba27a9684b30dfa9afed (diff) | |
download | ruby-70ca56dedaa7ced969269ed70112ebb8da653ec2.tar.gz |
Temporarily skipped with upstream changes of Date library.
Diffstat (limited to 'spec/ruby/library/date/parse_spec.rb')
-rw-r--r-- | spec/ruby/library/date/parse_spec.rb | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/spec/ruby/library/date/parse_spec.rb b/spec/ruby/library/date/parse_spec.rb index 379847a6fd..2e800f9818 100644 --- a/spec/ruby/library/date/parse_spec.rb +++ b/spec/ruby/library/date/parse_spec.rb @@ -11,9 +11,11 @@ describe "Date#parse" do d.should == Date.commercial(d.cwyear, d.cweek, 5) end - it "parses a month name into a Date object" do - d = Date.parse("october") - d.should == Date.civil(Date.today.year, 10) + ruby_version_is ''...'2.7' do + it "parses a month name into a Date object" do + d = Date.parse("october") + d.should == Date.civil(Date.today.year, 10) + end end it "parses a month day into a Date object" do |