summaryrefslogtreecommitdiff
path: root/spec/unit/os/parsers/dpkg_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/unit/os/parsers/dpkg_spec.rb')
-rw-r--r--spec/unit/os/parsers/dpkg_spec.rb2
1 files changed, 1 insertions, 1 deletions
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)) }