summaryrefslogtreecommitdiff
path: root/spec/functional/plugins/powershell_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/functional/plugins/powershell_spec.rb')
-rw-r--r--spec/functional/plugins/powershell_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/functional/plugins/powershell_spec.rb b/spec/functional/plugins/powershell_spec.rb
index 16df35a6..b9e99c5d 100644
--- a/spec/functional/plugins/powershell_spec.rb
+++ b/spec/functional/plugins/powershell_spec.rb
@@ -19,7 +19,7 @@
require "spec_helper"
describe Ohai::System, "languages plugin" do
- VERSION_MATCHING_REGEX = /^(?:[\d]+\.)+[\d]+$/.freeze
+ VERSION_MATCHING_REGEX = /^(?:\d+\.)+\d+$/.freeze
describe "powershell plugin", :windows_only do
RSpec.shared_examples "a version looking thing" do
it "is present" do