mirror of
https://github.com/sigmasternchen/xtext-core
synced 2025-03-16 08:48:55 +00:00
[XpectParameterProvider] also match imports
This commit is contained in:
parent
a860797a62
commit
142c3141e7
1 changed files with 1 additions and 1 deletions
|
@ -173,7 +173,7 @@ public class XpectParameterProvider implements IParameterProvider {
|
|||
|
||||
protected static final Pattern WS = Pattern.compile("^[\\s]+");
|
||||
|
||||
protected static Pattern XPECT_PATTERN = Pattern.compile("(\\S)?XPECT(_CLASS|_IMPORT)?\\s*([a-zA-Z0-9]+)");
|
||||
protected static Pattern XPECT_PATTERN = Pattern.compile("(\\S)?XPECT(_CLASS|_IMPORT)?\\s+([a-zA-Z0-9]*)");
|
||||
|
||||
public void collectParameters(Class<?> testClass, XtextResource resource, IParameterAcceptor acceptor) {
|
||||
collectTestMethods(testClass, resource, acceptor);
|
||||
|
|
Loading…
Reference in a new issue