Skip to content

Commit 03aadf0

Browse files
Fix failing test
1 parent 99afdfb commit 03aadf0

File tree

3 files changed

+11
-11
lines changed

3 files changed

+11
-11
lines changed

lib/toolrunner-error-catcher.test.js

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/toolrunner-error-catcher.test.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/toolrunner-error-catcher.test.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ test("regex matchers are applied to stdout for non-zero exit code", async (t) =>
3333

3434
await t.throwsAsync(exec.exec("node", testArgs), {
3535
instanceOf: Error,
36-
message: "The process 'node' failed with exit code 1",
36+
message: "The process '/usr/bin/node' failed with exit code 1",
3737
});
3838

3939
await t.throwsAsync(toolrunnerErrorCatcher("node", testArgs, matchers), {
@@ -56,7 +56,7 @@ test("regex matchers are applied to stderr for non-zero exit code", async (t) =>
5656

5757
await t.throwsAsync(exec.exec("node", testArgs), {
5858
instanceOf: Error,
59-
message: "The process 'node' failed with exit code 1",
59+
message: "The process '/usr/bin/node' failed with exit code 1",
6060
});
6161

6262
await t.throwsAsync(toolrunnerErrorCatcher("node", testArgs, matchers), {
@@ -81,7 +81,7 @@ test("matcher returns correct error message when multiple matchers defined", asy
8181

8282
await t.throwsAsync(exec.exec("node", testArgs), {
8383
instanceOf: Error,
84-
message: "The process 'node' failed with exit code 1",
84+
message: "The process '/usr/bin/node' failed with exit code 1",
8585
});
8686

8787
await t.throwsAsync(toolrunnerErrorCatcher("node", testArgs, matchers), {
@@ -106,7 +106,7 @@ test("matcher returns first match to regex when multiple matches", async (t) =>
106106

107107
await t.throwsAsync(exec.exec("node", testArgs), {
108108
instanceOf: Error,
109-
message: "The process 'node' failed with exit code 1",
109+
message: "The process '/usr/bin/node' failed with exit code 1",
110110
});
111111

112112
await t.throwsAsync(toolrunnerErrorCatcher("node", testArgs, matchers), {
@@ -133,7 +133,7 @@ test("exit code matchers are applied", async (t) => {
133133

134134
await t.throwsAsync(exec.exec("node", testArgs), {
135135
instanceOf: Error,
136-
message: "The process 'node' failed with exit code 123",
136+
message: "The process '/usr/bin/node' failed with exit code 123",
137137
});
138138

139139
await t.throwsAsync(toolrunnerErrorCatcher("node", testArgs, matchers), {

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy