mirror of
https://github.com/Microsoft/vscode
synced 2024-11-05 18:29:38 +00:00
Log actual vs expected profile names in test
This commit is contained in:
parent
fd07b80c45
commit
303519568e
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@ import { detectAvailableProfiles, IFsProvider } from 'vs/platform/terminal/node/
|
|||
* properties the same. Order of the profiles is ignored.
|
||||
*/
|
||||
function profilesEqual(actualProfiles: ITerminalProfile[], expectedProfiles: ITerminalProfile[]) {
|
||||
strictEqual(actualProfiles.length, expectedProfiles.length);
|
||||
strictEqual(actualProfiles.length, expectedProfiles.length, `Actual: ${actualProfiles.map(e => e.profileName).join(',')}\nExpected: ${expectedProfiles.map(e => e.profileName).join(',')}`);
|
||||
for (const expected of expectedProfiles) {
|
||||
const actual = actualProfiles.find(e => e.profileName === expected.profileName);
|
||||
ok(actual, `Expected profile ${expected.profileName} not found`);
|
||||
|
|
Loading…
Reference in a new issue