- fixes test

- displayCurrentPath: file/folder not bold anymore
This commit is contained in:
Till Salinger 2018-02-19 10:47:04 +01:00
parent 1d8a10fec2
commit 10be0f6908
2 changed files with 2 additions and 2 deletions

View file

@ -328,7 +328,7 @@ export class FileRenderer implements IRenderer {
inputBox.showMessage({
type: MessageType.INFO,
content: nls.localize('constructedPath', "Create **{0}** in **{1}**", fileType, newPath),
content: nls.localize('constructedPath', "Create {0} in **{1}**", fileType, newPath),
formatContent: true
});
}

View file

@ -198,7 +198,7 @@ suite('Files - View Model', () => {
assert(validateFileName(s, 'foo\\bar') === null);
assert(validateFileName(s, 'all/slashes/are/same') === null);
assert(validateFileName(s, 'theres/one/different\\slash') === null);
assert(validateFileName(s, '/slashAtBeginning') !== null);
assert(validateFileName(s, '/slashAtBeginning') === null);
if (isWindows) {
assert(validateFileName(s, 'foo:bar') !== null);