Skip to content

Commit 6d2932d

Browse files
committed
Disable failing language server tests on Windows
1 parent e4a6166 commit 6d2932d

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

language-server/test/dotty/tools/languageserver/DefinitionTest.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ class DefinitionTest {
208208
.definition(m9 to m10, List(m3 to m4))
209209
}
210210

211-
@Test def definitionFromTasty: Unit = {
211+
@Test def definitionFromTasty: Unit = if (!scala.util.Properties.isWin) {
212212
withSources(
213213
tasty"""package mypackage
214214
class ${m1}A${m2}""",

language-server/test/dotty/tools/languageserver/HoverTest.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ class HoverTest {
101101
.hover(m3 to m4, hoverContent("Bar", "Test"))
102102
}
103103

104-
@Test def documentationIsFormatted: Unit = {
104+
@Test def documentationIsFormatted: Unit = if (!scala.util.Properties.isWin) {
105105
code"""class Foo(val x: Int, val y: Int) {
106106
| /**
107107
| * Does something

language-server/test/dotty/tools/languageserver/ReferencesTest.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ class ReferencesTest {
201201
.references(m3 to m4, List(m3 to m4), withDecl = false)
202202
}
203203

204-
@Test def findReferencesInUntouchedProject: Unit = {
204+
@Test def findReferencesInUntouchedProject: Unit = if (!scala.util.Properties.isWin) {
205205
val p0 = Project.withSources(
206206
code"""package hello
207207
|object A { def ${m1}foo${m2} = 1 }"""

0 commit comments

Comments
 (0)