Skip to content

Commit

Permalink
Fix CI when YJIT is enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
andrykonchin authored and eregon committed Jun 10, 2024
1 parent 3ebab4b commit 3cc9a12
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions spec/ruby/library/rbconfig/rbconfig_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -144,11 144,13 @@
end

describe "RUBY_DESCRIPTION" do
it "contains version" do
RUBY_DESCRIPTION.should.include? RUBY_VERSION
end
guard_not -> { RUBY_ENGINE == "ruby" && !RbConfig::TOPDIR } do
it "contains version" do
RUBY_DESCRIPTION.should.include? RUBY_VERSION
end

it "contains RUBY_PLATFORM" do
RUBY_DESCRIPTION.should.include? RUBY_PLATFORM
it "contains RUBY_PLATFORM" do
RUBY_DESCRIPTION.should.include? RUBY_PLATFORM
end
end
end

0 comments on commit 3cc9a12

Please sign in to comment.