summaryrefslogtreecommitdiff
path: root/spec/unit/os/parsers
diff options
context:
space:
mode:
Diffstat (limited to 'spec/unit/os/parsers')
-rw-r--r--spec/unit/os/parsers/apk_spec.rb2
-rw-r--r--spec/unit/os/parsers/dpkg_spec.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/spec/unit/os/parsers/apk_spec.rb b/spec/unit/os/parsers/apk_spec.rb
index 0462d1b..220c15f 100644
--- a/spec/unit/os/parsers/apk_spec.rb
+++ b/spec/unit/os/parsers/apk_spec.rb
@@ -7,7 +7,7 @@ RSpec.describe Spandx::Os::Parsers::Apk do
let(:path) { fixture_file('os/lib/apk/db/installed') }
def build(name, version, path)
- Spandx::Core::Dependency.new(name: name, version: version, path: path)
+ Spandx::Core::Dependency.new(name:, version:, path:)
end
specify { expect(subject).to include(build('alpine-baselayout', '3.2.0-r7', path)) }
diff --git a/spec/unit/os/parsers/dpkg_spec.rb b/spec/unit/os/parsers/dpkg_spec.rb
index df63e35..2832fc9 100644
--- a/spec/unit/os/parsers/dpkg_spec.rb
+++ b/spec/unit/os/parsers/dpkg_spec.rb
@@ -7,7 +7,7 @@ RSpec.describe Spandx::Os::Parsers::Dpkg do
let(:path) { fixture_file('os/var/lib/dpkg/status') }
def build(name, version, path)
- Spandx::Core::Dependency.new(name: name, version: version, path: path)
+ Spandx::Core::Dependency.new(name:, version:, path:)
end
specify { expect(subject).to include(build('adduser', '3.118', path)) }