We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6ecaee2 commit 18213b6Copy full SHA for 18213b6
spec/truffle/identity_spec.rb
@@ -67,8 +67,8 @@
67
RbConfig::CONFIG['RUBY_INSTALL_NAME'].should == 'truffleruby'
68
end
69
70
- it "RbConfig::CONFIG['ruby_version'] is the ABI version and starts with RUBY_VERSION and has an extra component" do
71
- RbConfig::CONFIG['ruby_version'].should =~ /\A#{Regexp.escape RUBY_VERSION}\.\d+\z/
+ it "RbConfig::CONFIG['ruby_version'] is the ABI version and starts with RUBY_VERSION and has at least an extra component" do
+ RbConfig::CONFIG['ruby_version'].should =~ /\A#{Regexp.escape RUBY_VERSION}\.\d+(\.\d+)*\z/
72
73
74
it "RbConfig::CONFIG['RUBY_BASE_NAME'] is 'ruby'" do
0 commit comments