Skip to content

Commit d5207da

Browse files
authored
Remove unused variable (#2461)
* Remove unused variable Follow up to #2458 * Fix additional test failure * Fix type
1 parent 4b0e9ad commit d5207da

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

dwds/test/instances/common/test_inspector.dart

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -382,7 +382,6 @@ Object? _getValue(InstanceRef instanceRef) {
382382
final _dartCoreLibrary = 'dart:core';
383383
final _dartInterceptorsLibrary = 'dart:_interceptors';
384384
final _dartJsHelperLibrary = 'dart:_js_helper';
385-
final _dartCollectionLibrary = 'dart:collection';
386385
final _dartRuntimeLibrary = 'dart:_runtime';
387386

388387
final matchRecordClassName = 'Record';

dwds/test/instances/common/type_inspection_common.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -247,11 +247,11 @@ void runTests({
247247
await onBreakPoint('printSimpleLocalRecord', (event) async {
248248
final frame = event.topFrame!.index!;
249249
final instanceRef = await getInstanceRef(frame, '<int>{}.runtimeType');
250-
expect(instanceRef, matchTypeInstanceRef('_IdentityHashSet<int>'));
250+
expect(instanceRef, matchTypeInstanceRef('IdentitySet<int>'));
251251

252252
final instanceId = instanceRef.id!;
253253
final instance = await getObject(instanceId);
254-
expect(instance, matchTypeInstance('_IdentityHashSet<int>'));
254+
expect(instance, matchTypeInstance('IdentitySet<int>'));
255255

256256
final classId = instanceRef.classRef!.id;
257257
expect(await getObject(classId), matchTypeClass);

0 commit comments

Comments
 (0)