Move the whole method into the else to fix the linux build.
This commit is contained in:
parent
6f35aaa8e9
commit
c6adb9e4b1
1 changed files with 34 additions and 34 deletions
|
@ -50,8 +50,7 @@ namespace EndToEnd
|
||||||
// https://github.com/NuGet/Home/issues/8571
|
// https://github.com/NuGet/Home/issues/8571
|
||||||
#if LINUX_PORTABLE
|
#if LINUX_PORTABLE
|
||||||
return;
|
return;
|
||||||
#endif
|
#else
|
||||||
|
|
||||||
var testProjectCreator = new TestProjectCreator()
|
var testProjectCreator = new TestProjectCreator()
|
||||||
{
|
{
|
||||||
PackageName = packageName,
|
PackageName = packageName,
|
||||||
|
@ -85,6 +84,7 @@ namespace EndToEnd
|
||||||
}
|
}
|
||||||
|
|
||||||
versionInAssertsJson.ToNormalizedString().Should().BeEquivalentTo(GetExpectedVersion(packageName, minorVersion));
|
versionInAssertsJson.ToNormalizedString().Should().BeEquivalentTo(GetExpectedVersion(packageName, minorVersion));
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
private static NuGetVersion GetPackageVersion(LockFile lockFile, string packageName)
|
private static NuGetVersion GetPackageVersion(LockFile lockFile, string packageName)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue