File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -116,7 +116,7 @@ func TestLinterGolint(t *testing.T) {
116
116
t .Errorf ("unexpected error: %s" , err )
117
117
}
118
118
expected := diagnostics {
119
- util .UriToPath (uriA ): []* lsp.Diagnostic {
119
+ util .UriToRealPath (uriA ): []* lsp.Diagnostic {
120
120
{
121
121
Message : "exported function A should have comment or be unexported" ,
122
122
Severity : lsp .Warning ,
@@ -136,7 +136,7 @@ func TestLinterGolint(t *testing.T) {
136
136
},
137
137
},
138
138
},
139
- util .UriToPath (uriB ): []* lsp.Diagnostic {
139
+ util .UriToRealPath (uriB ): []* lsp.Diagnostic {
140
140
{
141
141
Message : "exported function B should have comment or be unexported" ,
142
142
Severity : lsp .Warning ,
@@ -157,7 +157,7 @@ func TestLinterGolint(t *testing.T) {
157
157
if err != nil {
158
158
t .Errorf ("unexpected error: %s" , err )
159
159
}
160
- expected [util .UriToPath (uriD )] = []* lsp.Diagnostic {
160
+ expected [util .UriToRealPath (uriD )] = []* lsp.Diagnostic {
161
161
{
162
162
Message : "exported function D should have comment or be unexported" ,
163
163
Severity : lsp .Warning ,
You can’t perform that action at this time.
0 commit comments