| Index: pkg/analysis_server/test/analysis/get_hover_test.dart
|
| diff --git a/pkg/analysis_server/test/analysis/get_hover_test.dart b/pkg/analysis_server/test/analysis/get_hover_test.dart
|
| index 030252be2f71ee88fb93e9ca6a3ea2fb509d2a08..cc1a4e47786f88267bad2c148274c7eea77a98b8 100644
|
| --- a/pkg/analysis_server/test/analysis/get_hover_test.dart
|
| +++ b/pkg/analysis_server/test/analysis/get_hover_test.dart
|
| @@ -96,6 +96,16 @@ main() {
|
| expect(hover.dartdoc, '''doc aaa\ndoc bbb''');
|
| }
|
|
|
| + test_enum() async {
|
| + addTestFile('''
|
| +enum MyEnum {AAA, BBB, CCC}
|
| +''');
|
| + HoverInformation hover = await prepareHover('MyEnum');
|
| + expect(hover.elementDescription, 'enum MyEnum');
|
| + expect(hover.staticType, isNull);
|
| + expect(hover.propagatedType, isNull);
|
| + }
|
| +
|
| test_expression_function() async {
|
| addTestFile('''
|
| library my.library;
|
|
|