[groovy] test for EA-79221

This commit is contained in:
Daniil Ovchinnikov
2016-02-17 20:32:27 +03:00
parent e2f75c5f64
commit 88f6e4eef9
@@ -1,5 +1,5 @@
/*
* Copyright 2000-2015 JetBrains s.r.o.
* Copyright 2000-2016 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -1962,4 +1962,13 @@ class Target {
}
''')
}
void 'test no exception for @Field annotation without variable'() {
testHighlighting '''\
import groovy.transform.Field
@Field
def (,<error descr="Identifier expected">)</error>
'''
}
}