Skip to content

Commit 14332c6

Browse files
committed
different ids
1 parent 0b9925d commit 14332c6

1 file changed

Lines changed: 23 additions & 0 deletions

File tree

test/NuGet.Core.FuncTests/NuGet.XPlat.FuncTest/Package/Download/PackageDownloadRunnerTests.cs

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,29 @@ public static IEnumerable<object[]> PackageTestData()
4747
} // expected
4848
};
4949

50+
// Basic stable explicit versions with different ids
51+
yield return new object[]
52+
{
53+
new List<(string, string)>
54+
{
55+
("Contoso.Core", "1.0.0"),
56+
("Contoso.Core.Utils", "1.1.0"),
57+
("Contoso.Core", "2.0.0-beta")
58+
}, // source packages
59+
new List<(string, string)>
60+
{
61+
("Contoso.Core.Utils", "1.1.0"),
62+
("Contoso.Core", "1.0.0"),
63+
}, // argument packages
64+
false, // enablePrerelease
65+
"myOutput", // output directory subpath
66+
new List<(string, string)>
67+
{
68+
("Contoso.Core.Utils", "1.1.0"),
69+
("Contoso.Core", "1.0.0")
70+
} // expected
71+
};
72+
5073
// Mixed casing on the ID in the *download* argument
5174
yield return new object[]
5275
{

0 commit comments

Comments
 (0)