Skip to content

Commit 09335d8

Browse files
committed
Update test project to net6
1 parent f190d9c commit 09335d8

File tree

5 files changed

+31
-9
lines changed

5 files changed

+31
-9
lines changed

.github/workflows/vader.yml

-5
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,6 @@ jobs:
2121
- name: Checkout code
2222
uses: actions/checkout@main
2323

24-
- name: Setup dotnet 3.1
25-
uses: actions/setup-dotnet@main
26-
with:
27-
dotnet-version: '3.1'
28-
2924
- name: Setup dotnet 6.0
3025
uses: actions/setup-dotnet@main
3126
with:

test/example/example.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<PropertyGroup>
44
<OutputType>Exe</OutputType>
5-
<TargetFramework>netcoreapp3.1</TargetFramework>
5+
<TargetFramework>net6</TargetFramework>
66
</PropertyGroup>
77

88
</Project>

test/example/example.sln

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
2+
Microsoft Visual Studio Solution File, Format Version 12.00
3+
# Visual Studio Version 17
4+
VisualStudioVersion = 17.0.31903.59
5+
MinimumVisualStudioVersion = 10.0.40219.1
6+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "example", "example.csproj", "{A1465805-934B-4ECC-92AD-95C326A4EB02}"
7+
EndProject
8+
Global
9+
GlobalSection(SolutionConfigurationPlatforms) = preSolution
10+
Debug|Any CPU = Debug|Any CPU
11+
Release|Any CPU = Release|Any CPU
12+
EndGlobalSection
13+
GlobalSection(SolutionProperties) = preSolution
14+
HideSolutionNode = FALSE
15+
EndGlobalSection
16+
GlobalSection(ProjectConfigurationPlatforms) = postSolution
17+
{A1465805-934B-4ECC-92AD-95C326A4EB02}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
18+
{A1465805-934B-4ECC-92AD-95C326A4EB02}.Debug|Any CPU.Build.0 = Debug|Any CPU
19+
{A1465805-934B-4ECC-92AD-95C326A4EB02}.Release|Any CPU.ActiveCfg = Release|Any CPU
20+
{A1465805-934B-4ECC-92AD-95C326A4EB02}.Release|Any CPU.Build.0 = Release|Any CPU
21+
EndGlobalSection
22+
EndGlobal

test/example/omnisharp.json

+3-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,9 @@
5454
"NewLineForClausesInQuery": true
5555
},
5656
"RoslynExtensionsOptions": {
57+
"DocumentAnalysisTimeoutMS": 500,
5758
"EnableAnalyzersSupport": false,
58-
"EnableDecompilationSupport": false
59+
"EnableDecompilationSupport": false,
60+
"EnableImportCompletion": false
5961
}
6062
}

test/utils/async-helper.vader

+5-2
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,11 @@ Execute (set up async helper):
3131
if has_key(b:, 'OmniSharp_UpdateChangeTick')
3232
unlet b:OmniSharp_UpdateChangeTick
3333
endif
34-
call OmniSharpTestAwait('OmniSharp#actions#buffer#Update',
35-
\ [{'Callback': function('s:CallbackStopWaiting')}])
34+
let opts = {
35+
\ 'Callback': function('s:CallbackStopWaiting'),
36+
\ 'SendBuffer': 1
37+
\}
38+
call OmniSharpTestAwait('OmniSharp#actions#buffer#Update', [opts])
3639
endfunction
3740

3841
function! OmniSharpTestCleanupBuffer() abort

0 commit comments

Comments
 (0)