File tree 1 file changed +3
-2
lines changed
org.eclipse.lsp4j.jsonrpc/src/test/java/org/eclipse/lsp4j/jsonrpc/test
1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 11
11
******************************************************************************/
12
12
package org .eclipse .lsp4j .jsonrpc .test ;
13
13
14
+ import java .io .File ;
14
15
import java .nio .file .Path ;
15
16
import java .nio .file .Paths ;
16
17
import org .eclipse .lsp4j .jsonrpc .*;
@@ -157,7 +158,7 @@ public void testReceivedErrorResponseWithCustomDataAdapter() {
157
158
"Error: {\n " +
158
159
" \" code\" : -32600,\n " +
159
160
" \" message\" : \" bar\" ,\n " +
160
- " \" data\" : \" foo/ Bar.java\" \n " +
161
+ " \" data\" : \" foo" + File . separator + " Bar.java\" \n " +
161
162
"}\n " +
162
163
"\n " +
163
164
"\n " ;
@@ -287,7 +288,7 @@ public void testSendingNotificationWithCustomAdapter() {
287
288
String actualTrace = stringWriter .toString ();
288
289
String expectedTrace = "" +
289
290
"[Trace - 06:07:30 PM] Sending notification 'foo'\n " +
290
- "Params: \" foo/ Bar.java\" \n " +
291
+ "Params: \" foo" + File . separator + " Bar.java\" \n " +
291
292
"\n " +
292
293
"\n " ;
293
294
You can’t perform that action at this time.
0 commit comments