summaryrefslogtreecommitdiff
path: root/spec/commands
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2019-11-22 19:01:36 +0100
committerDavid Rodríguez <deivid.rodriguez@riseup.net>2019-11-22 19:01:36 +0100
commit1a208a3cd8c4bc4bc208fd6331eae28c1f991960 (patch)
tree2bac5d914b0f21f1ccd29029372d987fb401d9e7 /spec/commands
parenta94b3d749937c5d22b2bea2bc1d788eb33c106c2 (diff)
downloadbundler-1a208a3cd8c4bc4bc208fd6331eae28c1f991960.tar.gz
Fixup style issues
Diffstat (limited to 'spec/commands')
-rw-r--r--spec/commands/version_spec.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/commands/version_spec.rb b/spec/commands/version_spec.rb
index f85ac82a40..8eecd9c53e 100644
--- a/spec/commands/version_spec.rb
+++ b/spec/commands/version_spec.rb
@@ -1,12 +1,12 @@
# frozen_string_literal: true
-require_relative '../support/path'
+require_relative "../support/path"
RSpec.describe "bundle version" do
if Spec::Path.ruby_core?
- COMMIT_HASH = /unknown|[a-fA-F0-9]{7,}/
+ COMMIT_HASH = /unknown|[a-fA-F0-9]{7,}/.freeze
else
- COMMIT_HASH = /[a-fA-F0-9]{7,}/
+ COMMIT_HASH = /[a-fA-F0-9]{7,}/.freeze
end
context "with -v" do