mirror of
https://github.com/Microsoft/vscode
synced 2024-08-26 20:39:37 +00:00
Improve wording for failing test case
This commit is contained in:
parent
e490174a3a
commit
9cfc4bcb5c
|
@ -33,7 +33,7 @@ export function setup(opts: minimist.ParsedArgs) {
|
||||||
const result = await app.workbench.localization.getLocalizedStrings();
|
const result = await app.workbench.localization.getLocalizedStrings();
|
||||||
if (app.quality === Quality.Dev || app.remote) {
|
if (app.quality === Quality.Dev || app.remote) {
|
||||||
if (result.open !== 'open' || result.close !== 'close' || result.find !== 'find') {
|
if (result.open !== 'open' || result.close !== 'close' || result.find !== 'find') {
|
||||||
throw new Error(`Received localized strings: ${JSON.stringify(result, undefined, 0)}`);
|
throw new Error(`Received wrong localized strings: ${JSON.stringify(result, undefined, 0)}`);
|
||||||
}
|
}
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue