Skip to content

Commit

Permalink
fix: update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
shetzel committed Aug 24, 2022
1 parent 11e7b49 commit fe81cab
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion test/commands/force/package/install.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ describe('force:package:install', () => {
} catch (err) {
const error = err as Error;
expect(error.name).to.equal('Error');
expect(error.message).to.include('Missing required flag:\n -p, --package');
expect(error.message).to.include('Missing required flag package');
}
});

Expand Down
2 changes: 1 addition & 1 deletion test/commands/force/package/installReport.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ describe('force:package:install:report', () => {
} catch (err) {
const error = err as Error;
expect(error.name).to.equal('Error');
expect(error.message).to.include('Missing required flag:\n -i, --requestid');
expect(error.message).to.include('Missing required flag requestid');
}
});

Expand Down
2 changes: 1 addition & 1 deletion test/commands/force/package/version.delete.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ describe('force:package:version:delete', () => {
} catch (err) {
const error = err as Error;
expect(error.name).to.equal('Error');
expect(error.message).to.include('Missing required flag:\n -p, --package');
expect(error.message).to.include('Missing required flag package');
}
});

Expand Down

0 comments on commit fe81cab

Please sign in to comment.