-
Notifications
You must be signed in to change notification settings - Fork 526
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
33 additions
and
0 deletions.
There are no files selected for viewing
17 changes: 17 additions & 0 deletions
17
integrationtests/Paket.IntegrationTests/FrameworkRestrictionsSpecs.fs
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,17 @@ | ||
module Paket.IntegrationTests.FrameworkRestrictionsSpecs | ||
|
||
open Fake | ||
open Paket | ||
open System | ||
open NUnit.Framework | ||
open FsUnit | ||
open System | ||
open System.IO | ||
open Paket.Domain | ||
open Paket.Requirements | ||
|
||
[<Test>] | ||
let ``#140 windsor should resolve framework dependent dependencies``() = | ||
let lockFile = update "i000140-resolve-framework-restrictions" | ||
lockFile.Groups.[Constants.MainDependencyGroup].Resolution.[PackageName "TaskParallelLibrary"].Settings.FrameworkRestrictions | ||
|> shouldEqual [FrameworkRestriction.Exactly(DotNetFramework(FrameworkVersion.V3_5))] |
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
15 changes: 15 additions & 0 deletions
15
integrationtests/scenarios/i000140-resolve-framework-restrictions/before/paket.dependencies
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,15 @@ | ||
source http://nuget.org/api/v2 | ||
|
||
# Core Dependencies | ||
nuget FParsec ~> 1.0.1 | ||
nuget FSharp.Core.Microsoft.Signed ~> 3.1.1 | ||
nuget MathNet.Numerics.FSharp ~> 3.2.1 | ||
|
||
# Development Dependencies | ||
nuget FsUnit ~> 1.3 | ||
|
||
# Tools | ||
nuget FAKE ~> 3.5 | ||
nuget NUnit.Runners ~> 2.6 | ||
nuget FSharp.Formatting !~> 2.4 | ||
nuget NuGet.CommandLine |