mirror of
https://github.com/sigmasternchen/xtext-core
synced 2025-03-16 16:58:56 +00:00
[xbase][validation] Fixed location of error marker for invalid assignments
see bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=398302 Change-Id: I5cca18ed95f52ad71e649da2eddb9a530aad7a66
This commit is contained in:
parent
d797a9e26c
commit
fdfe435236
1 changed files with 5 additions and 1 deletions
|
@ -161,7 +161,11 @@ public class ValidationTestHelper {
|
|||
.append(code)
|
||||
.append("' on ")
|
||||
.append(objectType.getName())
|
||||
.append(" but got\n");
|
||||
.append(" at [")
|
||||
.append(offset)
|
||||
.append(":")
|
||||
.append(length)
|
||||
.append("] but got\n");
|
||||
getIssuesAsString(model, allIssues, message);
|
||||
assertEquals(Joiner.on('\n').join(messageParts), message.toString());
|
||||
fail(message.toString());
|
||||
|
|
Loading…
Reference in a new issue