Add support for Expecto theory tests #1802
Annotations
9 errors
FSAC.lsp.Ionide WorkspaceLoader.AdaptiveLspServer.NamedText.empty file features.tests.no parsing/checking errors:
test/FsAutoComplete.Tests.Lsp/FsAutoComplete.Tests.Lsp.fsproj#L1
Timeout (00:02:00)
at Expecto.TestModule.catchHandler@1-1(Int32 timeout, Exception _arg3)
at [email protected](Exception edi)
at Microsoft.FSharp.Control.AsyncPrimitives.CallFilterThenInvoke[T](AsyncActivation`1 ctxt, FSharpFunc`2 filterFunction, ExceptionDispatchInfo edi) in D:\a\_work\1\s\src\FSharp.Core\async.fs:line 547
at Microsoft.FSharp.Control.Trampoline.Execute(FSharpFunc`2 firstAction) in D:\a\_work\1\s\src\FSharp.Core\async.fs:line 148
|
FSAC.lsp.Ionide WorkspaceLoader.AdaptiveLspServer.NamedText.CodeFix-tests.RenameParamToMatchSignature.can rename parameter with type in F# function:
test/FsAutoComplete.Tests.Lsp/FsAutoComplete.Tests.Lsp.fsproj#L1
There should be a Diagnostic with code 3218. There isn't any element which satisfies given assertion <fun:expectCode@11>.
at FsAutoComplete.Tests.CodeFixTests.RenameParamToMatchSignatureTests.checkWithFsi@46-6.Invoke(Diagnostic[] diags)
at [email protected](Unit unitVar) in /Users/runner/work/FsAutoComplete/FsAutoComplete/test/FsAutoComplete.Tests.Lsp/Utils/CursorbasedTests.fs:line 43
at Microsoft.FSharp.Control.AsyncPrimitives.CallThenInvoke[T,TResult](AsyncActivation`1 ctxt, TResult result1, FSharpFunc`2 part2) in D:\a\_work\1\s\src\FSharp.Core\async.fs:line 510
at Microsoft.FSharp.Control.Trampoline.Execute(FSharpFunc`2 firstAction) in D:\a\_work\1\s\src\FSharp.Core\async.fs:line 148
|
Build on macos-latest for 6.0 stable
Process completed with exit code 1.
|
FSAC.lsp.Ionide WorkspaceLoader.AdaptiveLspServer.NamedText.Unused Declarations.project.used this:
test/FsAutoComplete.Tests.Lsp/FsAutoComplete.Tests.Lsp.fsproj#L1
There should be no unused value diagnostic at cursor position. Expected list to have length 0, but length was 1. Seq:
[|{ Range = { Start = { Line = 3
Character = 9 }
End = { Line = 3
Character = 13 } }
Severity = Some Hint
Code = Some "FSAC0003"
CodeDescription = None
Source = Some "FSAC"
Message = "This value is unused"
RelatedInformation = Some [||]
Tags = Some [|Unnecessary|]
Data = None }|]
at FsAutoComplete.Tests.UnusedDeclarationsTests.checkUsageAt@35-2.Invoke(Document _arg2) in /Users/runner/work/FsAutoComplete/FsAutoComplete/test/FsAutoComplete.Tests.Lsp/UnsedDeclarationsTests.fs:line 53
at Microsoft.FSharp.Control.AsyncPrimitives.CallThenInvoke[T,TResult](AsyncActivation`1 ctxt, TResult result1, FSharpFunc`2 part2) in D:\a\_work\1\s\src\FSharp.Core\async.fs:line 510
at Microsoft.FSharp.Control.Trampoline.Execute(FSharpFunc`2 firstAction) in D:\a\_work\1\s\src\FSharp.Core\async.fs:line 148
--- End of stack trace from previous location ---
at Microsoft.FSharp.Control.AsyncResult`1.Commit() in D:\a\_work\1\s\src\FSharp.Core\async.fs:line 455
|
Build on macos-latest for 7.0 preview
Process completed with exit code 1.
|
Build on macos-latest for repo global.json
The job running on runner GitHub Actions 2 has exceeded the maximum execution time of 30 minutes.
|
FSAC.lsp.Ionide WorkspaceLoader.AdaptiveLspServer.NamedText.empty file features.tests.no parsing/checking errors:
test/FsAutoComplete.Tests.Lsp/FsAutoComplete.Tests.Lsp.fsproj#L1
Timeout (00:02:00)
at Expecto.TestModule.catchHandler@1-1(Int32 timeout, Exception _arg3)
at [email protected](Exception edi)
at Microsoft.FSharp.Control.AsyncPrimitives.CallFilterThenInvoke[T](AsyncActivation`1 ctxt, FSharpFunc`2 filterFunction, ExceptionDispatchInfo edi) in D:\a\_work\1\s\src\FSharp.Core\async.fs:line 547
at Microsoft.FSharp.Control.Trampoline.Execute(FSharpFunc`2 firstAction) in D:\a\_work\1\s\src\FSharp.Core\async.fs:line 148
|
FSAC.lsp.Ionide WorkspaceLoader.AdaptiveLspServer.RoslynSourceText.Go to definition tests.Untitled GoTo Tests.can go to variable declaration:
test/FsAutoComplete.Tests.Lsp/FsAutoComplete.Tests.Lsp.fsproj#L1
Request failed: { Code = -32603
Message =
"No line in /Users/runner/work/FsAutoComplete/FsAutoComplete/test/FsAutoComplete.Tests.Lsp/bin/Release/net6.0/__Instrumented_FsAutoComplete.Tests.Lsp/Untitled-0.fsx at position (3,8)"
Data = None }
at [email protected](String msg)
at [email protected](FSharpResult`2 res) in /Users/runner/work/FsAutoComplete/FsAutoComplete/test/FsAutoComplete.Tests.Lsp/GoToTests.fs:line 576
at Microsoft.FSharp.Control.AsyncPrimitives.CallThenInvokeNoHijackCheck[a,b](AsyncActivation`1 ctxt, b result1, FSharpFunc`2 userCode) in D:\a\_work\1\s\src\FSharp.Core\async.fs:line 528
at <StartupCode$fsautocomplete>[email protected](AsyncActivation`1 ctxt)
at Microsoft.FSharp.Control.Trampoline.Execute(FSharpFunc`2 firstAction) in D:\a\_work\1\s\src\FSharp.Core\async.fs:line 148
|
Build on macos-latest for repo global.json
The operation was canceled.
|