You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
let``TryGetRecentCheckResultsForFile returns None before first call to ParseAndCheckFileInProject`` ()=
836
836
letproject= SyntheticProject.Create(
837
837
sourceFile "First"[])
838
-
838
+
839
839
ProjectWorkflowBuilder(project){
840
840
clearCache
841
841
tryGetRecentCheckResults "First" expectNone
@@ -845,7 +845,7 @@ let ``TryGetRecentCheckResultsForFile returns None before first call to ParseAnd
845
845
let``TryGetRecentCheckResultsForFile returns result after first call to ParseAndCheckFileInProject`` ()=
846
846
letproject= SyntheticProject.Create(
847
847
sourceFile "First"[])
848
-
848
+
849
849
ProjectWorkflowBuilder(project){
850
850
tryGetRecentCheckResults "First" expectSome
851
851
}|> ignore
@@ -854,21 +854,21 @@ let ``TryGetRecentCheckResultsForFile returns result after first call to ParseAn
854
854
let``TryGetRecentCheckResultsForFile returns no result after edit`` ()=
855
855
letproject= SyntheticProject.Create(
856
856
sourceFile "First"[])
857
-
857
+
858
858
ProjectWorkflowBuilder(project){
859
859
tryGetRecentCheckResults "First" expectSome
860
860
updateFile "First" updatePublicSurface
861
861
tryGetRecentCheckResults "First" expectNone
862
862
checkFile "First" expectOk
863
863
tryGetRecentCheckResults "First" expectSome
864
864
}|> ignore
865
-
865
+
866
866
[<Fact>]
867
867
let``TryGetRecentCheckResultsForFile returns result after edit of other file`` ()=
868
868
letproject= SyntheticProject.Create(
869
869
sourceFile "First"[],
870
870
sourceFile "Second"["First"])
871
-
871
+
872
872
ProjectWorkflowBuilder(project){
873
873
tryGetRecentCheckResults "First" expectSome
874
874
tryGetRecentCheckResults "Second" expectSome
@@ -901,7 +901,7 @@ let ``Unused warning should still produce after parse warning`` useTransparentCo
901
901
// There should be parse warning because of the space in the file name:
902
902
// warning FS0221: The declarations in this file will be placed in an implicit module 'As 01' based on the file name 'As 01.fs'.
903
903
// However this is not a valid F# identifier, so the contents will not be accessible from other files. Consider renaming the file or adding a 'module' or 'namespace' declaration at the top of the file.
0 commit comments