diff options
| author | mo khan <mo.khan@gmail.com> | 2020-10-05 17:22:14 -0600 |
|---|---|---|
| committer | mo khan <mo.khan@gmail.com> | 2020-10-06 08:01:03 -0600 |
| commit | 4bf6440d5676bd7e120091f0a253a01e0b2fa7a3 (patch) | |
| tree | 91ebee6126a98ae1bebf46fd6e9ec12e820bf4aa /spec/integration/rust | |
| parent | 7fe70519010e24fa1d6735b108793987e8a24aa4 (diff) | |
Parse composite license expressions
* docs: Add changelog entry
* fix: update spec to match expected behaviour
Diffstat (limited to 'spec/integration/rust')
| -rw-r--r-- | spec/integration/rust/cargo_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/integration/rust/cargo_spec.rb b/spec/integration/rust/cargo_spec.rb index c8794f8..7b2b606 100644 --- a/spec/integration/rust/cargo_spec.rb +++ b/spec/integration/rust/cargo_spec.rb @@ -23,7 +23,7 @@ RSpec.describe "cargo" do expect(subject.dependency_names).to match_array(%w[libc time]) end - specify { expect(subject.licenses_for('libc')).to match_array(['mit or apache-2.0']) } + specify { expect(subject.licenses_for('libc')).to match_array(['MIT', 'Apache-2.0']) } specify { expect(subject.licenses_for('time')).to match_array(['Apache-2.0', 'MIT']) } end @@ -38,7 +38,7 @@ RSpec.describe "cargo" do specify do expect(subject).to match_schema expect(subject.dependency_names).to match_array(['libc']) - expect(subject.licenses_for('libc')).to match_array(['mit or apache-2.0']) + expect(subject.licenses_for('libc')).to match_array(['MIT', 'Apache-2.0']) end end |
