Fix test folder cannot delete and missing test (#8480)

This commit is contained in:
William Lee 2018-01-25 20:17:33 -08:00 committed by GitHub
parent 9e535a867a
commit 78904831f9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -93,6 +93,7 @@ namespace Microsoft.DotNet.ShellShim.Tests
}
}
[Theory]
[InlineData(false)]
[InlineData(true)]
public void GivenAnExecutablePathWithExistingSameNameShimItThrows(bool testMockBehaviorIsInSync)
@ -184,7 +185,7 @@ namespace Microsoft.DotNet.ShellShim.Tests
const string testAppName = "TestAppSimple";
const string emptySpaceToTestSpaceInPath = " ";
TestAssetInstance testInstance = TestAssets.Get(testAppName)
.CreateInstance(testAppName + emptySpaceToTestSpaceInPath)
.CreateInstance(testAppName + emptySpaceToTestSpaceInPath + "test")
.UseCurrentRuntimeFrameworkVersion()
.WithRestoreFiles()
.WithBuildFiles();