@@ -1391,7 +1391,7 @@ overriding license for package npm/ms/2.1.3 with MIT WITH Bison-exception-2.2
1391
1391
1392
1392
---
1393
1393
1394
- [TestCommand_Licenses/Licenses_with_invalid_expression - 1]
1394
+ [TestCommand_Licenses/Licenses_with_invalid_expression_in_config - 1]
1395
1395
Scanning dir ./fixtures/locks-licenses/package-lock.json
1396
1396
Scanned <rootdir>/osv-scanner/scan/source/fixtures/locks-licenses/package-lock.json file and found 4 packages
1397
1397
overriding license for package npm/babel/6.23.0 with MIT AND (LGPL-2.1-or-later OR BSD-3-Clause))
@@ -1414,12 +1414,21 @@ overriding license for package npm/ms/2.1.3 with MIT WITH (Bison-exception-2.2 A
1414
1414
1415
1415
---
1416
1416
1417
- [TestCommand_Licenses/Licenses_with_invalid_expression - 2]
1417
+ [TestCommand_Licenses/Licenses_with_invalid_expression_in_config - 2]
1418
1418
license LGPL-2.1-only OR OR BSD-3-Clause for package npm/human-signals/5.0.0 is invalid: unexpected OR after OR
1419
1419
license MIT WITH (Bison-exception-2.2 AND somethingelse) for package npm/ms/2.1.3 is invalid: unexpected ( after WITH
1420
1420
1421
1421
---
1422
1422
1423
+ [TestCommand_Licenses/Licenses_with_invalid_licenses_in_flag - 1]
1424
+
1425
+ ---
1426
+
1427
+ [TestCommand_Licenses/Licenses_with_invalid_licenses_in_flag - 2]
1428
+ --licenses requires comma-separated spdx licenses. The following license(s) are not recognized as spdx: something-something
1429
+
1430
+ ---
1431
+
1423
1432
[TestCommand_Licenses/No_license_violations_and_show-all-packages_in_json - 1]
1424
1433
{
1425
1434
"results": [
@@ -1905,6 +1914,33 @@ Scanned <rootdir>/osv-scanner/scan/source/fixtures/locks-many/package-lock.json
1905
1914
1906
1915
---
1907
1916
1917
+ [TestCommand_Licenses/When_offline_licenses_are_still_validated - 1]
1918
+
1919
+ ---
1920
+
1921
+ [TestCommand_Licenses/When_offline_licenses_are_still_validated - 2]
1922
+ --licenses requires comma-separated spdx licenses. The following license(s) are not recognized as spdx: something-something
1923
+
1924
+ ---
1925
+
1926
+ [TestCommand_Licenses/When_offline_licenses_cannot_be_checked - 1]
1927
+
1928
+ ---
1929
+
1930
+ [TestCommand_Licenses/When_offline_licenses_cannot_be_checked - 2]
1931
+ cannot retrieve licenses locally
1932
+
1933
+ ---
1934
+
1935
+ [TestCommand_Licenses/When_offline_licenses_summary_cannot_be_printed - 1]
1936
+
1937
+ ---
1938
+
1939
+ [TestCommand_Licenses/When_offline_licenses_summary_cannot_be_printed - 2]
1940
+ cannot retrieve licenses locally
1941
+
1942
+ ---
1943
+
1908
1944
[TestCommand_LocalDatabases/.gitignored_files - 1]
1909
1945
Scanning dir ./fixtures/locks-gitignore
1910
1946
Scanned <rootdir>/osv-scanner/scan/source/fixtures/locks-gitignore/Gemfile.lock file and found 1 package
0 commit comments