Improve wording for failing test case

This commit is contained in:
Dirk Baeumer 2021-06-22 13:29:33 +02:00
parent e490174a3a
commit 9cfc4bcb5c
No known key found for this signature in database
GPG key ID: DD95715335E91385

View file

@ -33,7 +33,7 @@ export function setup(opts: minimist.ParsedArgs) {
const result = await app.workbench.localization.getLocalizedStrings();
if (app.quality === Quality.Dev || app.remote) {
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;
}