From e1298c7b87f4b4d0c2101b516fb7b322a9296852 Mon Sep 17 00:00:00 2001 From: Andreas Nedbal Date: Sat, 16 Apr 2022 04:03:49 +0200 Subject: [PATCH] Fix Hound nits --- lib/version.rb | 2 +- spec/lib/version_spec.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/version.rb b/lib/version.rb index de6e2759..13de7285 100644 --- a/lib/version.rb +++ b/lib/version.rb @@ -45,4 +45,4 @@ module Retrospring [to_a.join("."), suffix].join end end -end \ No newline at end of file +end diff --git a/spec/lib/version_spec.rb b/spec/lib/version_spec.rb index 8d94b627..e53e917f 100644 --- a/spec/lib/version_spec.rb +++ b/spec/lib/version_spec.rb @@ -30,7 +30,7 @@ RSpec.describe Retrospring::Version do describe "#to_a" do it "should return the correct version as array" do - expect(Retrospring::Version.to_a).to eq(["1984", "0101", "0"]) + expect(Retrospring::Version.to_a).to eq(%w[1984 0101 0]) end end end