Skip to content

Commit

Permalink
fix: update test expectations for new error codes
Browse files Browse the repository at this point in the history
  • Loading branch information
shetzel committed Jun 18, 2024
1 parent cb50192 commit 4d167ac
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions test/commands/sfdx/alias/set.nut.ts
Original file line number Diff line number Diff line change
Expand Up @@ -111,9 +111,7 @@ describe('alias:set NUTs', async () => {

it('alias:set without varargs stdout', () => {
const res: string = execCmd('alias:set ').shellOutput.stderr;
expect(res).to.include(
'Error (1): You must provide one or more aliases to set. Use the --help flag to see examples.'
);
expect(res).to.include('You must provide one or more aliases to set. Use the --help flag to see examples.');
});
});
});
Expand Down
2 changes: 1 addition & 1 deletion test/commands/sfdx/config/unset.nut.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ describe('config:unset NUTs', async () => {
'You must provide one or more configuration variables to unset. Run "sf config list" to see the configuration variables you\'ve previously set.',
name: 'NoConfigKeysFoundError',
status: 1,
code: 1,
code: 'NoConfigKeysFoundError',
exitCode: 1,
warnings: [],
});
Expand Down

0 comments on commit 4d167ac

Please sign in to comment.