Skip to content

Commit

Permalink
Path update
Browse files Browse the repository at this point in the history
  • Loading branch information
fabiocav committed Dec 3, 2018
1 parent 0d7c7dd commit 2ef5d72
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public void RuntimeAssemblies_AreLoadedInDefaultContext(string assemblyName)
[Fact]
public void InitializeDeps_LoadsExpectedDependencies()
{
string depsPath = Path.Combine(Directory.GetCurrentDirectory(), @"Description\DotNet\TestFiles\DepsFiles");
string depsPath = Path.Combine(Directory.GetCurrentDirectory(), "Description", "DotNet", "TestFiles", "DepsFiles");

IDictionary<string, string> assemblies = FunctionAssemblyLoadContext.InitializeDeps(depsPath);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@ public class PackageManagerTests
[Theory]
[InlineData(@"ProjectWithLockMatch", false)]
[InlineData(@"FunctionWithNoProject", false)]
[InlineData(@"ProjectWithMismatchedLock\MismatchedPackageVersions", true)]
[InlineData(@"ProjectWithMismatchedLock\MismatchedProjectDependencies", true)]
[InlineData(@"ProjectWithMismatchedLock/MismatchedPackageVersions", true)]
[InlineData(@"ProjectWithMismatchedLock/MismatchedProjectDependencies", true)]
[InlineData(@"ProjectWithoutLock", true)]
public void RequirePackageRestore_ReturnsExpectedResult(string projectPath, bool shouldRequireRestore)
{
projectPath = Path.Combine(Directory.GetCurrentDirectory(), @"Description\DotNet\TestFiles\PackageReferences", projectPath);
projectPath = Path.Combine(Directory.GetCurrentDirectory(), "Description", "DotNet", "TestFiles", "PackageReferences", projectPath);
bool result = PackageManager.RequiresPackageRestore(projectPath);

Assert.True(Directory.Exists(projectPath));
Expand Down

0 comments on commit 2ef5d72

Please sign in to comment.