Skip to content

Commit

Permalink
chore: suggestion
Browse files Browse the repository at this point in the history
Co-authored-by: Juliet Shackell <[email protected]>
  • Loading branch information
iowillhoit and jshackell-sfdc authored Sep 26, 2024
1 parent 8201c5a commit 3790e17
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion messages/package_version_delete.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ The request to delete this package version has been canceled.

# humanSuccess

Successfully deleted the package version with id: %s
Successfully deleted the package version with ID: %s

# humanSuccessUndelete

Expand Down
2 changes: 1 addition & 1 deletion test/commands/package/packageVersion.nut.ts
Original file line number Diff line number Diff line change
Expand Up @@ -443,7 +443,7 @@ describe('package:version:*', () => {
const id = deletableVersionIds.pop();
const command = `package:version:delete -p ${id} --noprompt`;
const result = execCmd<[PackageSaveResult]>(command, { ensureExitCode: 0 }).shellOutput.stdout;
expect(result).to.contain(`Successfully deleted the package version with id: ${id}`);
expect(result).to.contain(`Successfully deleted the package version with ID: ${id}`);
});
});

Expand Down
2 changes: 1 addition & 1 deletion test/commands/package/version.delete.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ describe('package:version:delete', () => {
const results: PackageSaveResult = await command.run();
expect(results.id).to.equal('testId');
expect(uxSuccessStub.calledOnce).to.be.true;
expect(uxSuccessStub.args[0][0]).to.equal('Successfully deleted the package version with id: testId');
expect(uxSuccessStub.args[0][0]).to.equal('Successfully deleted the package version with ID: testId');
expect(results.id).to.equal('testId');
});
it('should undelete a package version', async () => {
Expand Down

0 comments on commit 3790e17

Please sign in to comment.