Skip to content

Commit

Permalink
Fix FsCheck reference paths in test projects.
Browse files Browse the repository at this point in the history
Fixed a bit of code in TestHelpers to work with the TestResult.True constructor, which had a breaking change in FsCheck 2.2.4.
Fixes #21.
  • Loading branch information
jack-pappas committed Feb 2, 2016
1 parent 431e2c3 commit 6e6e114
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion FSharpLex.Tests/FSharpLex.Tests.fsproj
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
<Private>True</Private>
</Reference>
<Reference Include="FsCheck">
<HintPath>..\packages\FsCheck.2.2.4.0\lib\net45\FsCheck.dll</HintPath>
<HintPath>..\packages\FsCheck.2.2.4\lib\net45\FsCheck.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="FSharp.Core, Version=$(TargetFSharpCoreVersion), Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
Expand Down
2 changes: 1 addition & 1 deletion Facio.Utilities.Testing/Facio.Utilities.Testing.fsproj
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
</ItemGroup>
<ItemGroup>
<Reference Include="FsCheck">
<HintPath>..\packages\FsCheck.2.2.4.0\lib\net45\FsCheck.dll</HintPath>
<HintPath>..\packages\FsCheck.2.2.4\lib\net45\FsCheck.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="FSharp.Core, Version=$(TargetFSharpCoreVersion), Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
Expand Down
2 changes: 1 addition & 1 deletion Facio.Utilities.Testing/TestHelpers.fs
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ type private NUnitRunner () =
member __.OnShrink (_,_) = ()
member __.OnFinished (name, result) =
match result with
| TestResult.True data ->
| TestResult.True (data, suppressResults) ->
// TODO : Log the result data.
Runner.onFinishedToString name result
|> stdout.WriteLine
Expand Down
2 changes: 1 addition & 1 deletion Reggie.Tests/Reggie.Tests.fsproj
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
<Private>True</Private>
</Reference>
<Reference Include="FsCheck">
<HintPath>..\packages\FsCheck.2.2.4.0\lib\net45\FsCheck.dll</HintPath>
<HintPath>..\packages\FsCheck.2.2.4\lib\net45\FsCheck.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="FSharp.Core, Version=$(TargetFSharpCoreVersion), Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
Expand Down

0 comments on commit 6e6e114

Please sign in to comment.