diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2022-12-03 11:17:26 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2022-12-03 11:27:16 +0900 |
commit | 7b2306a3ab2a7d33c5c5c8ac248447349874b258 (patch) | |
tree | 27199081cba575b5cf199959e0a49df28be69a46 /spec | |
parent | 59e389af2893c0fcf8b2cfa008c9a16825bf56ff (diff) |
Remove unguaranteed assertion [ci skip]
It can be configured by `--with-os-version-style=TYPE` option, and
just copies from theApple's installation as the default. We don't
know why it is major only.
Diffstat (limited to 'spec')
-rw-r--r-- | spec/ruby/core/builtin_constants/builtin_constants_spec.rb | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/spec/ruby/core/builtin_constants/builtin_constants_spec.rb b/spec/ruby/core/builtin_constants/builtin_constants_spec.rb index b0b86030e2..1960f5721f 100644 --- a/spec/ruby/core/builtin_constants/builtin_constants_spec.rb +++ b/spec/ruby/core/builtin_constants/builtin_constants_spec.rb @@ -34,12 +34,6 @@ describe "RUBY_PLATFORM" do it "is a String" do RUBY_PLATFORM.should be_kind_of(String) end - - platform_is :darwin do - it 'ends with the build time kernel major version on darwin' do - RUBY_PLATFORM.should =~ /-darwin\d+$/ - end - end end describe "RUBY_RELEASE_DATE" do |