mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[groovy] test for EA-79221
This commit is contained in:
+10
-1
@@ -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>
|
||||
'''
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user