Skip to content

Commit

Permalink
Fix a spec failing on double digits ruby version
Browse files Browse the repository at this point in the history
  • Loading branch information
elia committed Jun 21, 2018
1 parent 04b855c commit 943fc14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/opal/core/language/predefined_spec.rb
Expand Up @@ -114,7 +114,7 @@

it "includes RUBY_VERSION" do
Object.const_defined?(:RUBY_VERSION).should == true
RUBY_VERSION.should =~ /^\d\.\d\.\d$/
RUBY_VERSION.should =~ /^\d+\.\d+\.\d+$/
end

it "includes RUBY_RELEASE_DATE" do
Expand Down

0 comments on commit 943fc14

Please sign in to comment.