-
-
Notifications
You must be signed in to change notification settings - Fork 83
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Disable prerelease feature for nuget2bazel (#250)
- Loading branch information
1 parent
2c9f9c8
commit 64ad748
Showing
6 changed files
with
25 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
using System.Linq; | ||
using System.Threading.Tasks; | ||
using nuget2bazel; | ||
using Xunit; | ||
|
||
namespace nuget2bazel_test | ||
{ | ||
public class MicrosoftConfigurationT : TestBase | ||
{ | ||
// If we allow prerelease versions then this test fails for 5.9.0, 5.9.1 and 5.10.0-preview. | ||
// It seems that there is an internal error in Nuget.Resolver related to sorting versions. | ||
[Fact] | ||
public async Task MicrosoftConfigurationTest() | ||
{ | ||
var project = new TestProject(_prjConfig); | ||
var addCmd = new AddCommand(); | ||
|
||
await addCmd.DoWithProject("https://api.nuget.org/v3/index.json", "Microsoft.Extensions.Configuration", "5.0.0", project, false); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.