From 9eeef5546927bc98d2bd8bc8089b998a58ed4e39 Mon Sep 17 00:00:00 2001 From: Shelley Vohr Date: Mon, 14 Aug 2023 19:08:55 +0200 Subject: [PATCH] test: resolve failing Node.js line number failure (#39490) --- .../chore_update_fixtures_errors_force_colors_snapshot.patch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/patches/node/chore_update_fixtures_errors_force_colors_snapshot.patch b/patches/node/chore_update_fixtures_errors_force_colors_snapshot.patch index 3aea2d4d028f..1e2351093211 100644 --- a/patches/node/chore_update_fixtures_errors_force_colors_snapshot.patch +++ b/patches/node/chore_update_fixtures_errors_force_colors_snapshot.patch @@ -11,7 +11,7 @@ trying to see whether or not the lines are greyed out. One possibility would be to upstream a changed test that doesn't hardcode line numbers. diff --git a/test/fixtures/errors/force_colors.snapshot b/test/fixtures/errors/force_colors.snapshot -index 0334a0b4faa3633aa8617b9538873e7f3540513b..d8c710e07602b68c9ad4eaaeab2bdf399ed5150b 100644 +index 0334a0b4faa3633aa8617b9538873e7f3540513b..28ba4d18fe5e3caf4d904a055550110fd4faa609 100644 --- a/test/fixtures/errors/force_colors.snapshot +++ b/test/fixtures/errors/force_colors.snapshot @@ -4,11 +4,12 @@ throw new Error('Should include grayed stack trace') @@ -28,7 +28,7 @@ index 0334a0b4faa3633aa8617b9538873e7f3540513b..d8c710e07602b68c9ad4eaaeab2bdf39 + at Module.load (node:internal*modules*cjs*loader:1126:32) + at node:internal*modules*cjs*loader:967:12 + at Function._load (node:electron*js2c*asar_bundle:756:32) -+ at Function.executeUserEntryPoint [as runMain] (node:internal*modules*run_main:87:12) ++ at Function.executeUserEntryPoint [as runMain] (node:internal*modules*run_main:96:12)  at node:internal*main*run_main_module:23:47 Node.js *