Merge pull request #8439 from Bo98/spdx_spec-noerr

test/utils/spdx_spec: don't error if test is skipped
This commit is contained in:
Mike McQuaid 2020-08-24 09:18:09 +01:00 committed by GitHub
commit a1c5428c50
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -35,8 +35,8 @@ describe SPDX do
let(:tmp_json_path) { Pathname.new(TEST_TMPDIR) }
after do
FileUtils.rm tmp_json_path/"spdx_licenses.json"
FileUtils.rm tmp_json_path/"spdx_exceptions.json"
FileUtils.rm_f tmp_json_path/"spdx_licenses.json"
FileUtils.rm_f tmp_json_path/"spdx_exceptions.json"
end
it "downloads latest license data" do