Skip to content
Snippets Groups Projects
Commit 4ad793fd authored by sebastian's avatar sebastian
Browse files

fixed failing test

parent 6c6ede8c
No related branches found
No related tags found
No related merge requests found
...@@ -24,7 +24,7 @@ fun convertErrorItems(errorItems: List<ErrorItem>, currentLoadedFile : String) : ...@@ -24,7 +24,7 @@ fun convertErrorItems(errorItems: List<ErrorItem>, currentLoadedFile : String) :
Position(0,0)), Position(0,0)),
errorItem.message, errorItem.message,
getErrorItemType(errorItem.type), getErrorItemType(errorItem.type),
separatorToSystems(currentLoadedFile))) separatorToSystems(File(currentLoadedFile).absolutePath)))
} }
}.flatten() }.flatten()
} }
......
...@@ -116,7 +116,8 @@ class BDocumentServiceTest { ...@@ -116,7 +116,8 @@ class BDocumentServiceTest {
val documentService = BDocumentService(DummyServer(), communicator, ProBKernelManager(communicator)) val documentService = BDocumentService(DummyServer(), communicator, ProBKernelManager(communicator))
val expectedDocument = File("b-language-server/src/test/resources/WD_M1.mch").absolutePath
val expectedDocument = File("src/test/resources/WD_M1.mch").absolutePath
documentService.checkDocument(URI("src/test/resources/WD_M1.mch")) documentService.checkDocument(URI("src/test/resources/WD_M1.mch"))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment