1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Temporarily skipped with upstream changes of Date library.

This commit is contained in:
Hiroshi SHIBATA 2019-10-24 18:50:57 +09:00
parent 487d96c6b1
commit 70ca56deda
No known key found for this signature in database
GPG key ID: F9CF13417264FAC2
2 changed files with 9 additions and 5 deletions

View file

@ -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

View file

@ -2,8 +2,10 @@ require_relative '../../spec_helper'
require_relative 'shared/valid_jd'
require 'date'
describe "Date.valid_jd?" do
ruby_version_is ''...'2.7' do
describe "Date.valid_jd?" do
it_behaves_like :date_valid_jd?, :valid_jd?
it_behaves_like :date_valid_jd?, :valid_jd?
end
end