Index: pkg/analysis_server/test/integration/analysis/get_hover_test.dart |
diff --git a/pkg/analysis_server/test/integration/analysis/get_hover_test.dart b/pkg/analysis_server/test/integration/analysis/get_hover_test.dart |
index b42cd9e3573103dd2e0f2bbe30fb805e0ac16807..076ae9dfe9ea021614297c6d391d2ad3a393bbee 100644 |
--- a/pkg/analysis_server/test/integration/analysis/get_hover_test.dart |
+++ b/pkg/analysis_server/test/integration/analysis/get_hover_test.dart |
@@ -150,13 +150,13 @@ main() { |
tests.add(checkHover('topLevelVar;', 11, ['List', 'topLevelVar'], |
'top level variable', ['List'])); |
tests.add(checkHover( |
- 'func(', 4, ['func', 'int', 'param'], 'function', ['int', 'void'], |
+ 'func(', 4, ['func', 'int', 'param'], 'function', null, |
docRegexp: 'Documentation for func')); |
- tests.add(checkHover('int param', 3, ['int'], 'class', ['int'], |
+ tests.add(checkHover('int param', 3, ['int'], 'class', null, |
isCore: true, docRegexp: '.*')); |
tests.add(checkHover('param)', 5, ['int', 'param'], 'parameter', ['int'], |
isLocal: true, docRegexp: 'Documentation for func')); |
- tests.add(checkHover('num localVar', 3, ['num'], 'class', ['num'], |
+ tests.add(checkHover('num localVar', 3, ['num'], 'class', null, |
isCore: true, docRegexp: '.*')); |
tests.add(checkHover( |
'localVar =', 8, ['num', 'localVar'], 'local variable', ['num'], |
@@ -164,10 +164,10 @@ main() { |
tests.add(checkHover('topLevelVar.length;', 11, ['List', 'topLevelVar'], |
'top level variable', ['List'])); |
tests.add(checkHover( |
- 'length;', 6, ['get', 'length', 'int'], 'getter', ['int'], |
+ 'length;', 6, ['get', 'length', 'int'], 'getter', null, |
isCore: true, docRegexp: '.*')); |
tests.add(checkHover( |
- 'length =', 6, ['set', 'length', 'int'], 'setter', ['int'], |
+ 'length =', 6, ['set', 'length', 'int'], 'setter', null, |
isCore: true, docRegexp: '.*')); |
tests.add(checkHover('param;', 5, ['int', 'param'], 'parameter', ['int'], |
isLocal: true, |