From f4edcfe114e095a2403246558be72a4e50dc28ca Mon Sep 17 00:00:00 2001 From: Jonathan Neugebauer Date: Thu, 23 Jul 2020 23:39:35 +0200 Subject: [PATCH] Fix MdalLanguageServerTest --- .../de/joneug/mdal/ide/MdalLanguageServerTest.xtend | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/de.joneug.mdal.ide/src/test/java/de/joneug/mdal/ide/MdalLanguageServerTest.xtend b/de.joneug.mdal.ide/src/test/java/de/joneug/mdal/ide/MdalLanguageServerTest.xtend index be22cc6..69d710d 100644 --- a/de.joneug.mdal.ide/src/test/java/de/joneug/mdal/ide/MdalLanguageServerTest.xtend +++ b/de.joneug.mdal.ide/src/test/java/de/joneug/mdal/ide/MdalLanguageServerTest.xtend @@ -102,11 +102,10 @@ class MdalLanguageServerTest extends AbstractLanguageServerTest { line = 43 column = 28 expectedCompletionItems = ''' - "Instructor" -> "Instructor" [[«line», «column»] .. [«line», «column»]] - "Seminar Registration Header" -> "Seminar Registration Header" [[«line», «column»] .. [«line», «column»]] - "Seminar Registration Line" -> "Seminar Registration Line" [[«line», «column»] .. [«line», «column»]] - "Seminar Room" -> "Seminar Room" [[«line», «column»] .. [«line», «column»]] - "Seminar" -> "Seminar" [[«line», «column»] .. [«line», «column»]] + Seminar Registration Header -> Seminar Registration Header [[«line», «column - 7»] .. [«line», «column»]] + Seminar Registration Line -> Seminar Registration Line [[«line», «column - 7»] .. [«line», «column»]] + Seminar Room -> Seminar Room [[«line», «column - 7»] .. [«line», «column»]] + Seminar -> Seminar [[«line», «column - 7»] .. [«line», «column»]] ''' ] } @@ -129,7 +128,7 @@ class MdalLanguageServerTest extends AbstractLanguageServerTest { ShortName = "Sem. Ledger Entry"; fields { - include("Language Code"; "Seminar"."Language Code") + include("Language Code"; "Seminar".) } } }