From 4349495ad98219411cbe48edbfa027fede400ad6 Mon Sep 17 00:00:00 2001 From: Prabhu Subramanian Date: Fri, 27 Oct 2023 11:55:29 +0100 Subject: [PATCH] Fix test Signed-off-by: Prabhu Subramanian --- utils.js | 2 +- utils.test.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/utils.js b/utils.js index 6e384a4df..d079c3653 100644 --- a/utils.js +++ b/utils.js @@ -2577,7 +2577,7 @@ export const getPyMetadata = async function (pkgList, fetchDepsInfo) { if (DEBUG_MODE) { console.error(p.name, "is not found on PyPI."); console.log( - "If this package is available from PyPI or a registry, its name might be different to the module name. Raise a ticket at https://github.com/CycloneDX/cdxgen/issues so that this could be added to the mapping file pypi-pkg-aliases.json" + "If this package is available from PyPI or a registry, its name might be different from the module name. Raise a ticket at https://github.com/CycloneDX/cdxgen/issues so that this can be added to the mapping file pypi-pkg-aliases.json" ); console.log( "Alternatively, if this is a package that gets installed directly in your environment and offers a python binding, then track such packages manually." diff --git a/utils.test.js b/utils.test.js index eb86b8941..93b04f5f8 100644 --- a/utils.test.js +++ b/utils.test.js @@ -1192,7 +1192,7 @@ test("parse github actions workflow data", async () => { dep_list = parseGitHubWorkflowData( readFileSync("./.github/workflows/repotests.yml", { encoding: "utf-8" }) ); - expect(dep_list.length).toEqual(7); + expect(dep_list.length).toEqual(8); expect(dep_list[0]).toEqual({ group: "actions", name: "checkout",