Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(17)

Unified Diff: pkg/analysis_server/test/services/index/store/split_store_test.dart

Issue 709493002: Fix 'Unused local variable' hints in analyzer and analysis_server. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: pkg/analysis_server/test/services/index/store/split_store_test.dart
diff --git a/pkg/analysis_server/test/services/index/store/split_store_test.dart b/pkg/analysis_server/test/services/index/store/split_store_test.dart
index 2c394b024b0071f0df56bbdac7ebeb8a2b3513d4..68b7eb3075ce084648703cbc2e39f88672ecb0db 100644
--- a/pkg/analysis_server/test/services/index/store/split_store_test.dart
+++ b/pkg/analysis_server/test/services/index/store/split_store_test.dart
@@ -376,9 +376,9 @@ class _LocationDataTest {
// getLocation()
{
Location newLocation = locationData.getLocation(context, elementCodec);
- expect(location.element, element);
- expect(location.offset, 1);
- expect(location.length, 2);
+ expect(newLocation.element, element);
+ expect(newLocation.offset, 1);
+ expect(newLocation.length, 2);
}
// no Element - no Location
{

Powered by Google App Engine
This is Rietveld 408576698