Skip to content

Commit a297d52

Browse files
committed
Try include QuotationsEvaluator
1 parent 07f74a7 commit a297d52

File tree

2 files changed

+5
-8
lines changed

2 files changed

+5
-8
lines changed

tests/FSharpPlus.Tests/Expr.fs

+4-3
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,13 @@ module Expr =
1818

1919
areEqual "11" res
2020

21+
let quotseval x = FSharp.Quotations.Evaluator.QuotationEvaluator.EvaluateUntyped x
2122
let unquote x = Swensen.Unquote.Operators.evalRaw x
2223
let powerpack x = Microsoft.FSharp.Linq.QuotationEvaluator.EvaluateUntyped x
2324

24-
// [<Test>]
25-
// let ``Simple quotation combination (QuotationEvaluator)`` () =
26-
// ``Simple quotation combination`` FSharp.Quotations.Evaluator.QuotationEvaluator.EvaluateUntyped
25+
26+
[<Test>]
27+
let ``Simple quotation combination [QuotationEvaluator]`` () = ``Simple quotation combination`` quotseval
2728

2829
[<Test>]
2930
let ``Simple quotation combination [Unquote]`` () = ``Simple quotation combination`` unquote

tests/FSharpPlus.Tests/FSharpPlus.Tests.fsproj

+1-5
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333
<ProjectReference Include="..\CSharpLib\CSharpLib.csproj" />
3434
</ItemGroup>
3535
<ItemGroup>
36+
<PackageReference Include="FSharp.Quotations.Evaluator" Version ="2.1.0"/>
3637
<PackageReference Include="FSPowerPack.Linq.Community" Version="3.0.0" />
3738
<PackageReference Include="System.Runtime" Version="4.3.1" />
3839
<PackageReference Include="Unquote" Version="5.0.0" />
@@ -43,9 +44,4 @@
4344
<PackageReference Include="NUnit3TestAdapter" Version="3.11.0" />
4445
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.9.0" />
4546
</ItemGroup>
46-
<ItemGroup Condition="'$(TargetFramework)' == 'netcoreapp3.0'">
47-
<PackageReference Include="FSharp.Quotations.Evaluator">
48-
<Version>2.1.0</Version>
49-
</PackageReference>
50-
</ItemGroup>
5147
</Project>

0 commit comments

Comments
 (0)