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 921a266832918ac52747f078536b5133f5018247..7c6a742e8ee7d54d52b15f1063017d26c73fceeb 100644 |
--- a/pkg/analysis_server/test/integration/analysis/get_hover_test.dart |
+++ b/pkg/analysis_server/test/integration/analysis/get_hover_test.dart |
@@ -7,7 +7,7 @@ library test.integration.analysis.get.hover; |
import 'dart:async'; |
import 'package:analysis_server/plugin/protocol/protocol.dart'; |
-import 'package:path/path.dart'; |
+import 'package:path/path.dart' as path; |
import 'package:test/test.dart'; |
import 'package:test_reflective_loader/test_reflective_loader.dart'; |
@@ -78,7 +78,7 @@ main() { |
expect(info.offset, equals(offset)); |
expect(info.length, equals(length)); |
if (isCore) { |
- expect(basename(info.containingLibraryPath), equals('core.dart')); |
+ expect(path.basename(info.containingLibraryPath), equals('core.dart')); |
expect(info.containingLibraryName, equals('dart.core')); |
} else if (isLocal || isLiteral) { |
expect(info.containingLibraryPath, isNull); |