Skip to content

Commit

Permalink
Fix test assertion on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
henryju committed Nov 8, 2023
1 parent 66ecdab commit bd47976
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
******************************************************************************/
package org.eclipse.lsp4j.jsonrpc.test;

import java.io.File;
import java.nio.file.Path;
import java.nio.file.Paths;
import org.eclipse.lsp4j.jsonrpc.*;
Expand Down Expand Up @@ -157,7 +158,7 @@ public void testReceivedErrorResponseWithCustomDataAdapter() {
"Error: {\n" +
" \"code\": -32600,\n" +
" \"message\": \"bar\",\n" +
" \"data\": \"foo/Bar.java\"\n" +
" \"data\": \"foo" + File.separator + "Bar.java\"\n" +
"}\n" +
"\n" +
"\n";
Expand Down Expand Up @@ -287,7 +288,7 @@ public void testSendingNotificationWithCustomAdapter() {
String actualTrace = stringWriter.toString();
String expectedTrace = "" +
"[Trace - 06:07:30 PM] Sending notification 'foo'\n" +
"Params: \"foo/Bar.java\"\n" +
"Params: \"foo" + File.separator + "Bar.java\"\n" +
"\n" +
"\n";

Expand Down

0 comments on commit bd47976

Please sign in to comment.