Skip to content

Commit 0f6cf8b

Browse files
committed
test: fix temporary quickfix diagnostics
1 parent f59938a commit 0f6cf8b

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

com.avaloq.tools.ddk.check.ui.test/src/com/avaloq/tools/ddk/check/ui/test/quickfix/CheckQuickfixTest.xtend

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -278,11 +278,12 @@ class CheckQuickfixTest extends AbstractCheckQuickfixTest {
278278
}
279279

280280
private def String readTestSourceContent(TestSource testSource) {
281-
if (testSource.iFile === null) {
281+
val file = testSource.getiFile()
282+
if (file === null) {
282283
return "<no workspace file>"
283284
}
284285
try {
285-
val inputStream = testSource.iFile.contents
286+
val inputStream = file.contents
286287
try {
287288
return new String(inputStream.readAllBytes, StandardCharsets.UTF_8)
288289
} finally {

0 commit comments

Comments
 (0)