Skip to content

Commit caf61f1

Browse files
committed
fix release test
1 parent 5acdfa6 commit caf61f1

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

tests/service/ExprTests.fs

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -679,8 +679,14 @@ let ``Test expressions of declarations stress big expressions`` () =
679679

680680
[<Test>]
681681
let ``Check use of type provider that provides calls to F# code`` () =
682+
let config =
683+
#if DEBUG
684+
["Configuration", "Debug"]
685+
#else
686+
["Configuration", "Release"]
687+
#endif
682688
let res =
683-
ProjectCracker.GetProjectOptionsFromProjectFile (Path.Combine(Path.Combine(__SOURCE_DIRECTORY__, "TestProject"),"TestProject.fsproj"))
689+
ProjectCracker.GetProjectOptionsFromProjectFile (Path.Combine(Path.Combine(__SOURCE_DIRECTORY__, "TestProject"),"TestProject.fsproj"), config)
684690
|> checker.ParseAndCheckProject
685691
|> Async.RunSynchronously
686692

0 commit comments

Comments
 (0)