Skip to content

Commit

Permalink
Fix test for windows
Browse files Browse the repository at this point in the history
  • Loading branch information
emmanuel-keller committed Jun 19, 2024
1 parent 8daa21c commit d0f3887
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/java/com/surrealdb/SurrealDBTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ void surrealdb_websocket() throws Exception {
RuntimeException e = assertThrows(RuntimeException.class, () -> {
surreal.connect("ws://localhost:8000");
});
assertTrue(e.getMessage().startsWith("There was an error processing a remote WS request: IO error: Connection refused "));
assertTrue(e.getMessage().startsWith("There was an error processing a remote WS request: IO error:"));
}
}

Expand Down

0 comments on commit d0f3887

Please sign in to comment.