Skip to content

Commit

Permalink
Create regression test for #140
Browse files Browse the repository at this point in the history
  • Loading branch information
forki committed Oct 30, 2015
1 parent 2e3d920 commit 1a7b9e7
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 0 deletions.
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))]
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@
<Compile Include="TestHelper.fs" />
<Compile Include="InitSpecs.fs" />
<Compile Include="GroupSpecs.fs" />
<Compile Include="FrameworkRestrictionsSpecs.fs" />
<Compile Include="BasicResolverSpecs.fs" />
<Compile Include="SemVerUpdateSpecs.fs" />
<Compile Include="ResolverSkipsConflictsFastSpecs.fs" />
Expand Down
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

0 comments on commit 1a7b9e7

Please sign in to comment.