Skip to content

Commit 2ef5d72

Browse files
committed
Path update
1 parent 0d7c7dd commit 2ef5d72

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

test/WebJobs.Script.Tests/Description/DotNet/FunctionAssemblyLoadContextTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public void RuntimeAssemblies_AreLoadedInDefaultContext(string assemblyName)
4242
[Fact]
4343
public void InitializeDeps_LoadsExpectedDependencies()
4444
{
45-
string depsPath = Path.Combine(Directory.GetCurrentDirectory(), @"Description\DotNet\TestFiles\DepsFiles");
45+
string depsPath = Path.Combine(Directory.GetCurrentDirectory(), "Description", "DotNet", "TestFiles", "DepsFiles");
4646

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

test/WebJobs.Script.Tests/Description/DotNet/PackageManagerTests.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,12 @@ public class PackageManagerTests
1717
[Theory]
1818
[InlineData(@"ProjectWithLockMatch", false)]
1919
[InlineData(@"FunctionWithNoProject", false)]
20-
[InlineData(@"ProjectWithMismatchedLock\MismatchedPackageVersions", true)]
21-
[InlineData(@"ProjectWithMismatchedLock\MismatchedProjectDependencies", true)]
20+
[InlineData(@"ProjectWithMismatchedLock/MismatchedPackageVersions", true)]
21+
[InlineData(@"ProjectWithMismatchedLock/MismatchedProjectDependencies", true)]
2222
[InlineData(@"ProjectWithoutLock", true)]
2323
public void RequirePackageRestore_ReturnsExpectedResult(string projectPath, bool shouldRequireRestore)
2424
{
25-
projectPath = Path.Combine(Directory.GetCurrentDirectory(), @"Description\DotNet\TestFiles\PackageReferences", projectPath);
25+
projectPath = Path.Combine(Directory.GetCurrentDirectory(), "Description", "DotNet", "TestFiles", "PackageReferences", projectPath);
2626
bool result = PackageManager.RequiresPackageRestore(projectPath);
2727

2828
Assert.True(Directory.Exists(projectPath));

0 commit comments

Comments
 (0)