diff --git a/tests/FSharpPlus.Tests/Expr.fs b/tests/FSharpPlus.Tests/Expr.fs index 732fe2843..57b2949cc 100644 --- a/tests/FSharpPlus.Tests/Expr.fs +++ b/tests/FSharpPlus.Tests/Expr.fs @@ -18,7 +18,12 @@ module Expr = areEqual "11" res - let quotseval x = FSharp.Quotations.Evaluator.QuotationEvaluator.EvaluateUntyped x + let quotseval x = +#if NETSTANDARD + FSharp.Quotations.Evaluator.QuotationEvaluator.EvaluateUntyped x +#else + Swensen.Unquote.Operators.evalRaw x +#end if let unquote x = Swensen.Unquote.Operators.evalRaw x let powerpack x = Microsoft.FSharp.Linq.QuotationEvaluator.EvaluateUntyped x diff --git a/tests/FSharpPlus.Tests/FSharpPlus.Tests.fsproj b/tests/FSharpPlus.Tests/FSharpPlus.Tests.fsproj index 4fa16ed1b..632c8cf31 100644 --- a/tests/FSharpPlus.Tests/FSharpPlus.Tests.fsproj +++ b/tests/FSharpPlus.Tests/FSharpPlus.Tests.fsproj @@ -33,7 +33,6 @@ - @@ -44,4 +43,9 @@ + + + 2.1.0 + +