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 c6ccfd2 commit 2118384Copy full SHA for 2118384
spec/truffle/identity_spec.rb
@@ -20,8 +20,8 @@
20
RUBY_VERSION.should =~ /\A\d+\.\d+\.\d+\z/
21
end
22
23
- it 'RUBY_ENGINE_VERSION matches /\A\d+(\.\d+)*(-rc\d+)?(\-dev)?(-\h+)?\z/' do
24
- RUBY_ENGINE_VERSION.should =~ /\A\d+(\.\d+)*(-rc\d+)?(\-dev)?(-\h+)?\z/
+ it 'RUBY_ENGINE_VERSION matches /\A\d+(\.\d+)*(-(rc|beta\.)\d+)?(\-dev)?(-\h+)?\z/' do
+ RUBY_ENGINE_VERSION.should =~ /\A\d+(\.\d+)*(-(rc|beta\.)\d+)?(\-dev)?(-\h+)?\z/
25
26
27
it "RUBY_ENGINE_VERSION can be parsed as a Gem::Version" do
0 commit comments