Skip to content

Commit

Permalink
fix: incorrect strings in test
Browse files Browse the repository at this point in the history
  • Loading branch information
ComradeVanti committed Jul 5, 2024
1 parent c325881 commit 2da4c9c
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions test/e2e/add.e2e.ts
Original file line number Diff line number Diff line change
Expand Up @@ -207,9 +207,7 @@ describe("add packages", () => {
expect(output.stdOut).toEqual([]);
expect(output.stdErr).toEqual(
expect.arrayContaining([
expect.stringContaining(
`The package "does.not.exist" was not found in any of the provided registries.`
),
expect.stringContaining(`Package "does.not.exist" could not be found.`),
])
);
});
Expand All @@ -230,7 +228,7 @@ describe("add packages", () => {
expect(output.stdErr).toEqual(
expect.arrayContaining([
expect.stringContaining(
`The package "dev.comradevanti.opt-unity" has no published version "100.1.1".`
`Can not add "dev.comradevanti.opt-unity" because version 100.1.1 could not be found in any registry.`
),
])
);
Expand Down

0 comments on commit 2da4c9c

Please sign in to comment.