mirror of
https://github.com/sigmasternchen/xtext-core
synced 2025-03-15 16:28:56 +00:00
fixed broken test data calculation
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
This commit is contained in:
parent
4dfc529c5a
commit
8bc76b67ed
1 changed files with 1 additions and 1 deletions
|
@ -55,7 +55,7 @@ public class ResourceLoadTest extends AbstractXtextTests {
|
|||
List<Object[]> result = Lists.newArrayList();
|
||||
try {
|
||||
String mweFile = staticReadFileIntoString("org/eclipse/xtext/GenerateAllTestLanguages.mwe2");
|
||||
Pattern pattern = Pattern.compile("uri\\s*=\\s*\"([^\"]*)\"");
|
||||
Pattern pattern = Pattern.compile("grammarUri\\s*=\\s*\"([^\"]*)\"");
|
||||
Matcher matcher = pattern.matcher(mweFile);
|
||||
while (matcher.find()) {
|
||||
String grammarURI = matcher.group(1);
|
||||
|
|
Loading…
Reference in a new issue